Commit e72e2b4
fix(ci): pin golangci-lint to v1.64.8 and add config
'version: latest' was pulling golangci-lint v2.x which requires a config
file and has breaking changes from v1.x, causing the lint job to fail
after ~20s before any code was checked.
- Pin to v1.64.8 (last stable v1 release, matches local tooling)
- Add .golangci.yml with explicit linter set (errcheck, govet,
staticcheck, unused, ineffassign, gosimple)
- Exclude errcheck from test files to avoid noise on t.Log etc.
Co-authored-by: Ona <no-reply@ona.com>1 parent 8847f14 commit e72e2b4
2 files changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments