Makefile: update golangci-lint from v1.57.1 to v1.59.1

See https://github.com/golangci/golangci-lint/releases/tag/v1.59.1

Thanks to ccoVeille for the suggestion at https://www.reddit.com/r/golang/comments/1dcl4ne/log_viewer_in_go/l82vsfd/
This commit is contained in:
Aliaksandr Valialkin 2024-06-11 16:01:26 +02:00
parent 9a355c3512
commit 239a7b6e6f
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB
2 changed files with 2 additions and 2 deletions

View file

@ -16,4 +16,4 @@ issues:
linters-settings: linters-settings:
errcheck: errcheck:
exclude: ./errcheck_excludes.txt exclude-functions: ./errcheck_excludes.txt

View file

@ -492,7 +492,7 @@ golangci-lint: install-golangci-lint
golangci-lint run golangci-lint run
install-golangci-lint: install-golangci-lint:
which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.57.1 which golangci-lint || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.59.1
govulncheck: install-govulncheck govulncheck: install-govulncheck
govulncheck ./... govulncheck ./...