diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 9b585b86..2577a5e1 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -20,5 +20,5 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.59 + version: v1.63 args: --verbose --timeout=15m diff --git a/.golangci.yml b/.golangci.yml index d8ee3962..1fce22d5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -20,7 +20,7 @@ linters: disable-all: true enable: - errcheck - - exportloopref + - copyloopvar - ginkgolinter - goconst - gocyclo diff --git a/Makefile b/Makefile index 00ffb8dc..4727414f 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,7 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint-$(GOLANGCI_LINT_VERSION) KUSTOMIZE_VERSION ?= v5.3.0 CONTROLLER_TOOLS_VERSION ?= v0.14.0 ENVTEST_VERSION ?= release-0.17 -GOLANGCI_LINT_VERSION ?= v1.57.2 +GOLANGCI_LINT_VERSION ?= v1.63.4 .PHONY: kustomize kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.