Commit df735c6
authored
Fix go-lint-checks CI job failures (#537)
With the [release of go1.26](https://go.dev/blog/go1.26), CI started
failing the golangci-lint job because actions/setup-go was configured
with go-version: stable, which now selects go1.26. Our pinned
golangci-lint binary (v2.6.1, built with go1.25) is not compatible with
go1.26.
This change switches the workflow to use
[go-version-file](https://github.com/actions/setup-go#go-version-file):
go.mod, so checks consistently run with Pebble’s Go version. Note: we
will still need to need to update golangci-lint when we move Pebble to
go1.26, but this isn't a step we need to take right now.1 parent 79baa78 commit df735c6
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
0 commit comments