Merge pull request #3657 from crosbymichael/golint
Try set GOGC for golint
This commit is contained in:
commit
87bff67128
2
Makefile
2
Makefile
@ -121,7 +121,7 @@ all: binaries
|
|||||||
|
|
||||||
check: proto-fmt ## run all linters
|
check: proto-fmt ## run all linters
|
||||||
@echo "$(WHALE) $@"
|
@echo "$(WHALE) $@"
|
||||||
golangci-lint run
|
GOGC=75 golangci-lint run
|
||||||
|
|
||||||
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI
|
ci: check binaries checkprotos coverage coverage-integration ## to be used by the CI
|
||||||
|
|
||||||
|
@ -23,3 +23,9 @@ set -eu -o pipefail
|
|||||||
go get -u github.com/stevvooe/protobuild
|
go get -u github.com/stevvooe/protobuild
|
||||||
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
go get -u github.com/cpuguy83/go-md2man
|
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
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user