We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2143e4e commit c77243dCopy full SHA for c77243d
1 file changed
.github/workflows/ci.yml
@@ -19,9 +19,13 @@ jobs:
19
go-version: "1.26"
20
- uses: golangci/golangci-lint-action@v8
21
with:
22
- # v2.x is required because we target `go 1.26` in go.mod; older
23
- # golangci-lint binaries are built with go1.24 and refuse to load.
24
version: v2.5.0
+ # Build the linter from source with the runner's Go. Prebuilt
+ # golangci-lint binaries are released built with go1.25; if any
25
+ # file under analysis (theirs or transitive dep) needs go1.26
26
+ # the binary panics. `goinstall` sidesteps that by compiling the
27
+ # linter with the same Go we use to compile the project.
28
+ install-mode: goinstall
29
30
test:
31
runs-on: ubuntu-latest
0 commit comments