diff --git a/test.sh b/test.sh index 14f6303d9..a5e559062 100755 --- a/test.sh +++ b/test.sh @@ -100,7 +100,7 @@ function setup_envs { header_text "using tools" if ! which golangci-lint 2>&1 >/dev/null; then - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2 export PATH=$PATH:$(go env GOPATH)/bin fi