From df7cacbbdd4bd8dda2c899e15739abb389d3a2ee Mon Sep 17 00:00:00 2001 From: zhujian Date: Fri, 25 Oct 2019 11:01:32 +0800 Subject: [PATCH] chore(*): update golangci-lint version from 1.16.0 to 1.20.1 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6b42446..54c35e0 100644 --- a/Makefile +++ b/Makefile @@ -88,10 +88,10 @@ build: build-local # more info about `GOGC` env: https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint lint: $(GOLANGCI_LINT) - @GOGC=5 $(GOLANGCI_LINT) run + @$(GOLANGCI_LINT) run $(GOLANGCI_LINT): - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BIN_DIR) v1.16.0 + curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(BIN_DIR) v1.20.1 test: @go test -p $(CPUS) $$(go list ./... | grep -v /vendor | grep -v /test) -coverprofile=coverage.out