Commit 32d3561
committed
fix: pin CI Go to 1.24 so gosec and golangci-lint can typecheck
- 'stable' resolves to Go 1.26 on the runner; gosec v2.21.4's
golang.org/x/tools v0.25.0 dependency fails to compile under 1.26
with "invalid array length -delta * delta" in tokeninternal.go
- golangci-lint v1.64.8 is shipped as a binary built with Go 1.24 and
cannot typecheck vendor/golang.org/x/crypto/chacha20poly1305/fips140only_go1.26.go
- Pinning to 1.24 matches both tools' embedded Go version and keeps
the module buildable1 parent a6b4d96 commit 32d3561
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments