This repository was archived by the owner on Mar 10, 2026. It is now read-only.
Commit bacf7ec
Fix golangci-lint by building from source with Go 1.25
Use install-mode: goinstall to build golangci-lint from source with Go 1.25
instead of downloading a prebuilt binary built with Go 1.24.
Changes:
- Add install-mode: goinstall to golangci-lint-action
- Forces local build with Go 1.25
- Resolves "Go language version is lower than targeted Go version" error
- Use Go 1.25 for both golangci and gomod jobs
- Add check-latest: true to ensure latest Go patch version
- Add --timeout=5m for golangci-lint
- Remove deprecated id: go field
- Improve formatting and consistency
This is the proper long-term solution, not a workaround.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent c2770bf commit bacf7ec
1 file changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | | - | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
29 | | - | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
| |||
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
| |||
0 commit comments