Pin golangci-lint version to non-broken one (#809)

main
Andrew Morgan 2019-10-08 12:20:37 +01:00 committed by GitHub
parent e959927d0a
commit 145921f207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ echo "Installing golangci-lint..."
# TODO: Once go 1.13 is out, use go get's -mod=readonly option
# https://github.com/golang/go/issues/30667
cp go.mod go.mod.bak && cp go.sum go.sum.bak
go get github.com/golangci/golangci-lint/cmd/golangci-lint
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.19.1
echo "Looking for lint..."
golangci-lint run $args