update golangci-lint to v1.64.2

- exportloopref is deprecated and deactivated so it should be removed
  from the disable list.
- tenv is deprecated and was replaced by usetesting

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2025-02-12 11:39:45 +01:00
parent 8b6f14f95b
commit 986fc9f465
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ linters:
- nonamedreturns - nonamedreturns
- exhaustruct - exhaustruct
# deprecated linters # deprecated linters
- exportloopref - tenv
linters-settings: linters-settings:
errcheck: errcheck:
check-blank: false check-blank: false

View File

@ -62,7 +62,7 @@ BUILDTAGS += ${EXTRA_BUILDTAGS}
# N/B: This value is managed by Renovate, manual changes are # N/B: This value is managed by Renovate, manual changes are
# possible, as long as they don't disturb the formatting # possible, as long as they don't disturb the formatting
# (i.e. DO NOT ADD A 'v' prefix!) # (i.e. DO NOT ADD A 'v' prefix!)
GOLANGCI_LINT_VERSION := 1.63.4 GOLANGCI_LINT_VERSION := 1.64.2
PYTHON ?= $(shell command -v python3 python|head -n1) PYTHON ?= $(shell command -v python3 python|head -n1)
PKG_MANAGER ?= $(shell command -v dnf yum|head -n1) PKG_MANAGER ?= $(shell command -v dnf yum|head -n1)
# ~/.local/bin is not in PATH on all systems # ~/.local/bin is not in PATH on all systems