Update golangci-lint version to 2.1.2 and adjust CI lint command for improved performance.
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/tests Pipeline was successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
qpismont 2025-04-17 21:21:04 +00:00
parent f8f0f0eca2
commit 2445b82395
3 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"dockerfile": "Dockerfile",
"args": {
"GO_VERSION": "1.24.2",
"GOLANGCI_LINT_VERSION": "2.0.2",
"GOLANGCI_LINT_VERSION": "2.1.2",
"MIGRATE_VERSION": "4.18.2",
"AIR_VERSION": "1.61.7"
}

View file

@ -7,7 +7,7 @@
],
"go.formatTool": "custom",
"go.alternateTools": {
"customFormatter": "golangci-lint-v2"
"customFormatter": "golangci-lint"
},
"go.formatFlags": [
"fmt",

View file

@ -8,4 +8,4 @@ steps:
- apk update
- apk add bash curl jq
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.2
- $(go env GOPATH)/bin/golangci-lint run
- $(go env GOPATH)/bin/golangci-lint run --fast-only --path-mode=abs