From 48009876ed7012aeff7205094c9266ca91a1f585 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Tue, 7 Jan 2025 19:40:33 +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 2a608d7..804016f 100644 --- a/Makefile +++ b/Makefile @@ -136,7 +136,7 @@ tidy: ## Run go mod tidy on every mod file in the repo .PHONY: golangci-lint golangci-lint: # NOTE this will install golangci-lint in to local bin dir - 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)