Commit ed276b4
Fix CI lint job by using golangci-lint-action
The lint job failed because golangci-lint was not installed on the
runner. Replace the manual Task-based approach with the standard
golangci/golangci-lint-action which handles installation and caching.
Set CGO_ENABLED=0 so CGO-only packages are excluded, and add the
missing cgo build constraint to propolis-runner/main.go so it is
correctly skipped when CGO is disabled.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 862f07f commit ed276b4
2 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
0 commit comments