From b1a2f1cf0ce175a100c1f9e18053a7d0186232bf Mon Sep 17 00:00:00 2001 From: Kapil Kumar Date: Tue, 29 Jul 2025 15:27:07 +0530 Subject: [PATCH] Update goclilint version to v2 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 272cbe0..09497bd 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ GOIMPORTS ?= $(LOCALBIN)/goimports-$(GOIMPORTS_VERSION) KUSTOMIZE_VERSION ?= v5.4.1 CONTROLLER_TOOLS_VERSION ?= v0.15.0 ENVTEST_VERSION ?= latest -GOLANGCI_LINT_VERSION ?= v1.64.5 +GOLANGCI_LINT_VERSION ?= v2.3.0 GOIMPORTS_VERSION ?= v0.25.0 .PHONY: kustomize @@ -91,7 +91,7 @@ $(ENVTEST): $(LOCALBIN) .PHONY: golangci-lint golangci-lint: $(GOLANGCI_LINT) ## Download golangci-lint locally if necessary. $(GOLANGCI_LINT): $(LOCALBIN) - $(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/cmd/golangci-lint,${GOLANGCI_LINT_VERSION}) + $(call go-install-tool,$(GOLANGCI_LINT),github.com/golangci/golangci-lint/v2/cmd/golangci-lint,${GOLANGCI_LINT_VERSION}) .PHONY: goimports goimports: $(GOIMPORTS) ## Download goimports locally if necessary.