From 1d48d233c2cd4df0faaef88502a2a40d7e12703d Mon Sep 17 00:00:00 2001 From: lhy1024 Date: Mon, 4 Nov 2024 15:23:00 +0800 Subject: [PATCH] upgrade golangci-lint to v1.61.0 Signed-off-by: lhy1024 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c874586ba5f..b9e875d3302 100644 --- a/Makefile +++ b/Makefile @@ -139,7 +139,7 @@ SHELL := env PATH='$(PATH)' GOBIN='$(GO_TOOLS_BIN_PATH)' $(shell which bash) install-tools: @mkdir -p $(GO_TOOLS_BIN_PATH) - @which golangci-lint >/dev/null 2>&1 || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GO_TOOLS_BIN_PATH) v1.48.0 + @which golangci-lint >/dev/null 2>&1 || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GO_TOOLS_BIN_PATH) v1.61.0 @grep '_' tools.go | sed 's/"//g' | awk '{print $$2}' | xargs go install .PHONY: install-tools