From daa7c77a2876bb6e7b514452c0a7bda9f7bcd7bd Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 7 Jan 2025 19:41:16 +0530 Subject: [PATCH] Bump golangci-lint version compatible with go1.21 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4990fb3e..75203e3a 100644 --- a/Makefile +++ b/Makefile @@ -118,7 +118,7 @@ tidy: ## Run go mod tidy on every mod file in the repo .PHONY: golangci-lint golangci-lint: - test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2 + test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.59.1 $(LOCALBIN)/golangci-lint run --fix PROCS?=$(shell expr $(shell nproc --ignore 2) / 2)