Skip to content

Commit 14a4441

Browse files
author
nmolchanov
committed
ci: upgrade golangci-lint-action to v7 and pin v2.5.0
The v6 action with version: latest installs golangci-lint v1.64.8, which can't parse the v2 schema in .golangci.yml and was itself built with Go 1.24 — both incompatible with this repo's go.mod (go 1.25.1). v7 of the action natively supports v2; pinning v2.5.0 matches the version we run locally.
1 parent f0f4467 commit 14a4441

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
cache: true
1818

1919
- name: golangci-lint
20-
uses: golangci/golangci-lint-action@v6
20+
uses: golangci/golangci-lint-action@v7
2121
with:
22-
version: latest
22+
version: v2.5.0
2323

2424
- name: Test
2525
run: go test -race -cover ./...

0 commit comments

Comments
 (0)