Commit 5ab94c4
Modernize CI action versions (#67)
The CodeQL and golangci-lint workflows were pinned to action versions
that GitHub has retired:
- actions/checkout@v2 (Node 12-based, retired)
- github/codeql-action/{init,autobuild,analyze}@v1 (v1 retired by GitHub)
- golangci/golangci-lint-action@v2 (from 2021)
These jobs were either silently failing or running in degraded mode,
producing a false static-analysis signal on every PR.
Changes:
- Bump actions/checkout to @v6 (matches the existing ci.yml convention).
- Bump github/codeql-action/* to @V3 (current stable major).
- Bump golangci/golangci-lint-action to @v6.
- Pin golangci-lint to v1.62.0. 'version: latest' picks up new linters
on every run, which can break unrelated PRs; a fixed version is
deterministic and bumped intentionally.
- Add actions/setup-go@v6 to the lint workflow, reading the Go version
from go.mod so the lint job exercises the same toolchain as the test
job.
Closes #27
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5184f23 commit 5ab94c4
2 files changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
0 commit comments