From 9c45431582993cc10ea0869f88b57f31801c6448 Mon Sep 17 00:00:00 2001 From: David Juhasz Date: Thu, 2 Jan 2025 13:21:09 -0800 Subject: [PATCH] Upgrade golangci-lint from 1.56.2 to 1.61.0 Match version of golangci-lint used by enduro and other artefactual-sdps projects. --- .golangci.yml | 6 +++--- hack/make/dep_golangci_lint.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 64ad799..1129168 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,8 +1,5 @@ run: deadline: 60s - skip-dirs: - - .github - - hack linters: enable: @@ -14,6 +11,9 @@ linters: - gosec issues: + exclude-dirs: + - .github + - hack exclude-rules: - path: _test\.go linters: diff --git a/hack/make/dep_golangci_lint.mk b/hack/make/dep_golangci_lint.mk index 35c7632..1a43351 100644 --- a/hack/make/dep_golangci_lint.mk +++ b/hack/make/dep_golangci_lint.mk @@ -5,7 +5,7 @@ $(call _assert_var,UNAME_ARCH) $(call _assert_var,CACHE_VERSIONS) $(call _assert_var,CACHE_BIN) -GOLANGCI_LINT_VERSION ?= 1.56.2 +GOLANGCI_LINT_VERSION ?= 1.61.0 ARCH := $(UNAME_ARCH) ifeq ($(UNAME_ARCH),x86_64)