Merge pull request #3657 from crosbymichael/golint

Try set GOGC for golint
This commit is contained in:
Derek McGowan 2019-09-17 13:19:45 -07:00 committed by GitHub
commit 87bff67128
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -121,7 +121,7 @@ all: binaries
check: proto-fmt ## run all linters
@echo "$(WHALE) $@"
golangci-lint run
GOGC=75 golangci-lint run
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI

View File

@ -23,3 +23,9 @@ set -eu -o pipefail
go get -u github.com/stevvooe/protobuild
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
go get -u github.com/cpuguy83/go-md2man
(
cd $GOPATH/src/github.com/golangci/golangci-lint/cmd/golangci-lint
git checkout v1.18.0
go build -v && go install
)