diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 23fa67c..cfc678d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: - id: go-mod-tidy - repo: https://github.com/golangci/golangci-lint - rev: v2.4.0 + rev: v2.7.2 hooks: - id: golangci-lint-full args: ["-v"] diff --git a/Makefile b/Makefile index 32e79ce..c80f028 100644 --- a/Makefile +++ b/Makefile @@ -354,7 +354,7 @@ govet: get-ci-tools # Run go test against code gotest: test -GOLANGCI_LINT_VERSION ?= v2.4.0 +GOLANGCI_LINT_VERSION ?= v2.7.2 .PHONY: golangci-lint golangci-lint: test -s $(LOCALBIN)/golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s $(GOLANGCI_LINT_VERSION)