Makefile: Move to golangci-lint v1.60

Version 1.56 pulls in 1.22.0 which is too low for our go.mod version of
1.22.6 and v1.59 pulls in go v1.22.5

So move to 1.60 which pulls in 1.23, which should work fine after some
new linting complaints are addressed.
This commit is contained in:
Brian C. Lane 2025-02-13 13:14:54 -08:00 committed by Brian C. Lane
parent 7da223c957
commit 2dad1a965e

View file

@ -23,11 +23,13 @@ RST2MAN ?= rst2man
SHELL := /bin/bash
.SHELLFLAGS := -ec -o pipefail
# see https://hub.docker.com/r/docker/golangci-lint/tags
# v1.56 to get golang 1.22 (1.22.1)
# see https://hub.docker.com/r/golangci/golangci-lint/tags
# This is also used in Containerfile_golangci_lint FROM line
# v1.60 to get golang 1.23 (1.23.0)
# v1.56 to get golang 1.22 (1.22.0)
# v1.55 to get golang 1.21 (1.21.3)
# v1.53 to get golang 1.20 (1.20.5)
GOLANGCI_LINT_VERSION=v1.56
GOLANGCI_LINT_VERSION=v1.60
GOLANGCI_LINT_CACHE_DIR=$(HOME)/.cache/golangci-lint/$(GOLANGCI_LINT_VERSION)
GOLANGCI_COMPOSER_IMAGE=composer_golangci
#