use latest linter

This commit is contained in:
2026-08-31 22:04:51 +02:00
parent 49eb1033ef
commit 5966e185d4

View File

@@ -3,6 +3,9 @@ matrix:
- linux/amd64
goversion:
- 1.24
lintversion:
- v2.12.2
labels:
platform: ${platform}
@@ -21,7 +24,7 @@ steps:
event: [push]
image: golang:${goversion}
commands:
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.5.0
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin ${lintversion}
- golangci-lint --version
- golangci-lint run ./...
depends_on: [build]