Skip to content

Commit edb8efc

Browse files
committed
ci: fix golangci-lint installation
`install.goreleaser.com` is now deprecated and stopped working so the tests in new PRs are failing.
1 parent a260f13 commit edb8efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function setup_envs {
100100
header_text "using tools"
101101

102102
if ! which golangci-lint 2>&1 >/dev/null; then
103-
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
103+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.2
104104
export PATH=$PATH:$(go env GOPATH)/bin
105105
fi
106106

0 commit comments

Comments
 (0)