From e5a86d293fb31456af03b6a5df2d630ebb58bd5b Mon Sep 17 00:00:00 2001 From: Pascal Bourdier Date: Thu, 10 Mar 2022 08:11:31 +0100 Subject: CI: fix golangci-lint installation 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 https://github.com/goreleaser/godownloader/issues/207 ``` Signed-off-by: Pascal Bourdier --- hack/install_golangci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install_golangci.sh b/hack/install_golangci.sh index 41cf90ddc..4ef6bc83b 100755 --- a/hack/install_golangci.sh +++ b/hack/install_golangci.sh @@ -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" -- cgit v1.2.3-54-g00ecf