Skip to content

Commit 87bff67

Browse files
authored
Merge pull request #3657 from crosbymichael/golint
Try set GOGC for golint
2 parents 86442df + 3bc9975 commit 87bff67

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ all: binaries
121121

122122
check: proto-fmt ## run all linters
123123
@echo "$(WHALE) $@"
124-
golangci-lint run
124+
GOGC=75 golangci-lint run
125125

126126
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI
127127

script/setup/install-dev-tools

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,9 @@ set -eu -o pipefail
2323
go get -u github.com/stevvooe/protobuild
2424
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
2525
go get -u github.com/cpuguy83/go-md2man
26+
27+
(
28+
cd $GOPATH/src/github.com/golangci/golangci-lint/cmd/golangci-lint
29+
git checkout v1.18.0
30+
go build -v && go install
31+
)

0 commit comments

Comments
 (0)