diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ffb008a3..8356a99c0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -70,7 +70,7 @@ repos: entry: bashate --error . --ignore=E006,E040,E011,E020,E012 - 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 c7886102f..c5d0a1701 100644 --- a/Makefile +++ b/Makefile @@ -187,7 +187,7 @@ tidy: ## Run go mod tidy on every mod file in the repo go mod tidy cd ./api && go mod tidy -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)