File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 11# renovate: datasource=github-releases depName=golangci/golangci-lint
2- version : 2.8.0
3- url : https://github.com/golangci/golangci-lint/releases/download/v{{.Version}}/golangci-lint-{{.Version}}-{{.Os}}-{{.Architecture}}.tar.gz
4- mappings :
5- architecture :
6- amd64 : amd64
7- arm64 : arm64
8- os :
9- darwin : darwin
10- linux : linux
2+ version : v2.8.0
3+ url : " {{.Version}}"
Original file line number Diff line number Diff line change @@ -74,11 +74,9 @@ clean: ## Remove build artifacts
7474
7575# Code quality tool binaries
7676.bin/golangci-lint : .deps/golangci-lint.yaml .bin/ory
77- @mkdir -p .bin
78- @URL=$$(.bin/ory dev ci deps url -o $(OS ) -a $(ARCH ) -c .deps/golangci-lint.yaml ) ; \
79- echo " Downloading golangci-lint from $$ {URL}..." ; \
80- curl -sSfL " $$ {URL}" | tar -xz -C .bin --strip-components=1 --wildcards ' */golangci-lint' ; \
81- chmod +x .bin/golangci-lint
77+ @VERSION=$$(.bin/ory dev ci deps url -o $(OS ) -a $(ARCH ) -c .deps/golangci-lint.yaml ) ; \
78+ echo " Installing golangci-lint $$ {VERSION}..." ; \
79+ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b .bin $$ {VERSION}
8280
8381.bin/tfplugindocs : .deps/tfplugindocs.yaml .bin/ory
8482 @mkdir -p .bin
You can’t perform that action at this time.
0 commit comments