Skip to content

Commit

Permalink
CI: fix golangci-lint installation
Browse files Browse the repository at this point in the history
avoid this warn:
```
golangci/golangci-lint info installed ./bin/golangci-lint
golangci/golangci-lint err this script is deprecated, please do not use it anymore. check goreleaser/godownloader#207
```

Signed-off-by: Pascal Bourdier <[email protected]>
  • Loading branch information
Pascal Bourdier authored and PascalBourdier committed Mar 10, 2022
1 parent acfcecf commit e5a86d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/install_golangci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ die() { echo "${1:-No error message given} (from $(basename $0))"; exit 1; }

function install() {
echo "Installing golangci-lint v$VERSION into $BIN"
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b ./bin v$VERSION
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v$VERSION
}

BIN="./bin/golangci-lint"
Expand Down

0 comments on commit e5a86d2

Please sign in to comment.