Skip to content

Commit ce66dbb

Browse files
committed
lint fix
1 parent 9d23f87 commit ce66dbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/verify-golint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ set -euo pipefail
1818
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
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.50.0
21+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.51.2
2222
export PATH=$PATH:$(go env GOPATH)/bin
2323
fi
2424

2525
echo "Verifying golint"
2626
readonly PKG_ROOT="$(git rev-parse --show-toplevel)"
2727

28-
golangci-lint run --deadline=10m
28+
golangci-lint run --timeout=10m
2929

3030
echo "Congratulations! Lint check completed for all Go source files."

0 commit comments

Comments
 (0)