trepa/build/ci/.lint.yml
qpismont 9d544c7e8a
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 CI configuration to use Go 1.24.1-alpine for build, lint, and test steps. Fix test database setup path in account tests and improve error handling in JWT verification.
2025-03-24 20:55:54 +00:00

11 lines
335 B
YAML

when:
event: [tag, push]
steps:
- name: lint
image: golang:1.24.1-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 v1.64.5
- $(go env GOPATH)/bin/golangci-lint run --fast