Skip to content

Commit 061999d

Browse files
committed
test: fix golint test failure
1 parent 3fc806e commit 061999d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/verify-golint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -euo pipefail
1818

1919
if [[ -z "$(command -v golangci-lint)" ]]; then
2020
echo "Cannot find golangci-lint. Installing golangci-lint..."
21-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
21+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.0
2222
export PATH=$PATH:$(go env GOPATH)/bin
2323
fi
2424

0 commit comments

Comments
 (0)