We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72e86a commit 0853da9Copy full SHA for 0853da9
1 file changed
tasks_tools.yaml
@@ -79,8 +79,9 @@ tasks:
79
status:
80
- test -x {{.LINTER}}
81
- '{{.LINTER}} --version | grep -q {{.LINTER_VERSION | trimPrefix "v"}}'
82
+ - '{{.LINTER}} --version | grep -q "$(go env GOVERSION)"'
83
cmds:
- - 'curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b {{.LOCALBIN}} {{.LINTER_VERSION}}'
84
+ - 'GOBIN="{{.LOCALBIN}}" go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@{{.LINTER_VERSION}}'
85
internal: true
86
87
jq:
0 commit comments