diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 90b3dff..1adb34a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: env: # Common versions GO_VERSION: '1.25.11' - GOLANGCI_VERSION: 'v2.11.4' + GOLANGCI_VERSION: 'v2.12.2' jobs: check-diff: diff --git a/.golangci.yml b/.golangci.yml index b0e69b1..fa95f79 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -115,6 +115,7 @@ linters: check-type-assertions: false check-blank: false goconst: + ignore-tests: true min-len: 3 min-occurrences: 5 gocritic: diff --git a/Makefile b/Makefile index 503ba00..3a7470a 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 ))) GO_LDFLAGS += -X $(GO_PROJECT)/pkg/version.Version=$(VERSION) GO_SUBDIRS += errors proto resource response request GO111MODULE = on -GOLANGCILINT_VERSION = 2.11.4 +GOLANGCILINT_VERSION = 2.12.2 GO_LINT_ARGS ?= "--fix" -include build/makelib/golang.mk