test: upgrade golint version

This commit is contained in:
andyzhangx 2020-09-23 10:33:28 +00:00
parent 4b68001d17
commit 3080c4ee53
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ set -euo pipefail
if [[ -z "$(command -v golangci-lint)" ]]; then
echo "Cannot find golangci-lint. Installing golangci-lint..."
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.30.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
fi
golangci-lint run --no-config --enable=golint --disable=typecheck --deadline=10m