From c641e66f98d53bd0b30162ced999e483365099ef Mon Sep 17 00:00:00 2001 From: Xiangyu Wang Date: Mon, 6 Dec 2021 18:26:08 +0800 Subject: [PATCH] Upgrade golangci-lint to support more linters (#12784) Signed-off-by: Xiangyu Wang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cfd4cb3b50..380e7415c4 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ get-build-deps: getdeps: @mkdir -p ${GOPATH}/bin - @which golangci-lint 1>/dev/null || (echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.27.0) + @which golangci-lint 1>/dev/null || (echo "Installing golangci-lint" && curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.43.0) @which ruleguard 1>/dev/null || (echo "Installing ruleguard" && go get github.com/quasilyte/go-ruleguard/cmd/ruleguard@v0.2.1) tools/bin/revive: tools/check/go.mod