Skip to content

Commit 656be12

Browse files
ernadoclaude
andcommitted
ci(lint): use golangci-lint-action v7 with v2.12.2
v6 installs the v1 line, which rejects the version "2" config. Pin action v7 + golangci-lint v2.12.2 so CI matches the local linter. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 5e74c46 commit 656be12

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ jobs:
2121
go-version-file: go.mod
2222

2323
- name: Lint
24-
uses: golangci/golangci-lint-action@v6
24+
# v7 installs golangci-lint v2, which the .golangci.yml (version "2")
25+
# requires; v6 defaults to the v1 line and rejects the config.
26+
uses: golangci/golangci-lint-action@v7
2527
with:
26-
version: latest
28+
version: v2.12.2
2729
args: --timeout 5m
2830

2931
# Check that go.mod/go.sum are tidy.

0 commit comments

Comments
 (0)