chore(release): v1.9.55 #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: golangci-lint | |
| on: | |
| pull_request: { branches: [main] } | |
| push: { branches: [main] } | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| golangci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: { go-version: '1.25.11' } | |
| # Bumped v6 → v9 in #1054 alongside the Go 1.25.10 toolchain bump: the | |
| # v6-era cached golangci-lint binary (v1.64.8) was built with Go 1.24, | |
| # which refuses to lint a go.mod targeting 1.25. v9 pulls v2.x binaries | |
| # built with Go 1.25+. .golangci.yml was migrated to v2 schema. | |
| # Strict mode (#1055): non-zero exit on findings. Baseline triaged in | |
| # the same PR — SQL parameterization annotated, pprof timeouts added, | |
| # G115/G117/G118/G122/G306/G703/G704 false positives carry // #nosec | |
| # explanations, testutil/eval paths excluded via .golangci.yml. | |
| - uses: golangci/golangci-lint-action@v9 | |
| with: { version: latest, args: --timeout=5m } |