ci: upgrade golangci-lint to 2.3.0
Upgrades the configuration file from V1 to V2 format which was pretty straightforward. The vendor/ directory no longer needs to be excluded as it is a default now in 2.x. Updates the pre-commit configuration to the latest and greatest version.
This commit is contained in:
parent
27ad7cb6f0
commit
2828ee63cf
3 changed files with 3 additions and 4 deletions
2
Makefile
2
Makefile
|
|
@ -22,7 +22,7 @@ RST2MAN ?= rst2man
|
|||
# see https://hub.docker.com/r/docker/golangci-lint/tags
|
||||
# v1.55 to get golang 1.21 (1.21.3)
|
||||
# v1.53 to get golang 1.20 (1.20.5)
|
||||
GOLANGCI_LINT_VERSION=v1.55
|
||||
GOLANGCI_LINT_VERSION=v2.3.0
|
||||
GOLANGCI_LINT_CACHE_DIR=$(HOME)/.cache/golangci-lint/$(GOLANGCI_LINT_VERSION)
|
||||
GOLANGCI_COMPOSER_IMAGE=composer_golangci
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue