From edb8efc576e161b4cf08ee29816093647c98e38e Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Wed, 25 May 2022 09:06:18 -0700 Subject: [PATCH] ci: fix golangci-lint installation `install.goreleaser.com` is now deprecated and stopped working so the tests in new PRs are failing. --- test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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