Skip to content

Commit 6e5a6bf

Browse files
committed
ci: pin golangci-lint v2 in the release workflow
- The release Validate job used golangci-lint-action@v6, which installed a golangci-lint built with Go 1.24 — it refuses to run against the module's Go 1.26 target, failing the gate. - Match ci.yml: action@v9 + version v2.12.2 (v2 is built with current Go and matches the v2 .golangci.yml schema).
1 parent b009ddb commit 6e5a6bf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
- name: Test
3636
run: go test ./... github.com/nixrajput/siphon/internal/driver/_mysqlcommon
3737
- name: Lint
38-
uses: golangci/golangci-lint-action@v6
38+
uses: golangci/golangci-lint-action@v9
39+
with:
40+
version: v2.12.2 # match ci.yml; v2 is built with current Go (go.mod targets 1.26)
3941
- name: GoReleaser check
4042
uses: goreleaser/goreleaser-action@v6
4143
with:

0 commit comments

Comments
 (0)