miller/.github
Kral c5ee752b5a
ci: add golangci-lint workflow (#2076)
* ci: add golangci-lint workflow

- Adds a GitHub Actions workflow that runs golangci-lint on push and PR
  against the main branch, complementing the existing build/test matrix
  in go.yml.
- Pins Go 1.25 to match go.mod and golangci-lint v1.61.0 for reproducible
  linting; the job is run on ubuntu-latest with a 5-minute timeout.
- Uses concurrency cancellation per ref to keep the CI queue short and
  read-only contents permissions per least-privilege guidance.

* ci: use valid golangci-lint action release

Signed-off-by: dashitongzhi <civilization.cn@outlook.com>

* ci: scope golangci-lint to production packages

* ci: make golangci-lint job advisory (continue-on-error)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Signed-off-by: dashitongzhi <civilization.cn@outlook.com>
Co-authored-by: John Kerl <kerl.john.r@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-25 08:30:34 -04:00
..
workflows ci: add golangci-lint workflow (#2076) 2026-06-25 08:30:34 -04:00
dependabot.yml