Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit c2770bf

Browse files
kwentclaude
andcommitted
Fix golangci-lint compatibility by using Go 1.24 for lint job
- Use Go 1.24 specifically for golangci-lint job (temporary workaround) - golangci-lint is currently built with Go 1.24 - Avoids "Go language version is lower than targeted Go version" error - Keep Go 1.25 for gomod validation job (actual project version) - Update actions/setup-go from v4 to v5 - Remove unnecessary GO111MODULE environment variable - Use quoted version strings for consistency This is a temporary workaround until golangci-lint releases a version built with Go 1.25. Build, test, and release jobs continue to use Go 1.25. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f4f266f commit c2770bf

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ jobs:
1111
- name: Checkout Repository
1212
uses: actions/checkout@v4
1313
- name: Set up Go 1.x
14-
uses: actions/setup-go@v4
15-
env:
16-
GO111MODULE: off
14+
uses: actions/setup-go@v5
1715
with:
18-
go-version: 1.25
16+
go-version: '1.24'
1917
id: go
2018
- name: Run Golangci Linter
2119
uses: golangci/golangci-lint-action@v6
@@ -25,11 +23,9 @@ jobs:
2523
runs-on: ubuntu-latest
2624
steps:
2725
- name: Set up Go 1.x
28-
uses: actions/setup-go@v4
29-
env:
30-
GO111MODULE: off
26+
uses: actions/setup-go@v5
3127
with:
32-
go-version: 1.25
28+
go-version: '1.25'
3329
id: go
3430
- name: Checkout Repository
3531
uses: actions/checkout@v4

0 commit comments

Comments
 (0)