Try set GOGC for golint

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2019-09-17 12:02:56 -04:00
parent 86442dfbb9
commit 3bc99755d4
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
)