trepa/build/ci/.lint.yml
qpismont 2445b82395
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
Update golangci-lint version to 2.1.2 and adjust CI lint command for improved performance.
2025-04-17 21:21:04 +00:00

11 lines
356 B
YAML

when:
event: [tag, push]
steps:
- name: lint
image: golang:1.24.2-alpine
commands:
- 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 --fast-only --path-mode=abs