Skip to content

ci: fix golangci-lint-action version (v8) and validate CI on real runners#9

Merged
jaavier merged 1 commit into
mainfrom
claude/ci-golangci-v8
May 29, 2026
Merged

ci: fix golangci-lint-action version (v8) and validate CI on real runners#9
jaavier merged 1 commit into
mainfrom
claude/ci-golangci-v8

Conversation

@jaavier
Copy link
Copy Markdown
Owner

@jaavier jaavier commented May 29, 2026

Summary

Fixes the lint job in CI and serves to validate the full CI suite on GitHub's real runners (the workflows were just introduced).

golangci-lint-action@v6 only supports golangci-lint v1.x, but the repo's .golangci.yml is v2 config (validated locally with golangci-lint v2.5.0). Action v8 supports golangci-lint >= v2.1.0, so the lint job is bumped to @v8.

What this PR exercises

  • test matrix: Go 1.17–1.23 × {ubuntu, macOS, windows}
  • race + coverage (Codecov, tokenless)
  • lint: gofmt check + golangci-lint v2.5.0
  • CodeQL analysis

Local verification

  • go build, go vet, golangci-lint run (v2.5.0) — clean
  • go test -race — pass, coverage 90%

https://claude.ai/code/session_01P1nZkYKTFp9CRKDUEysphw


Generated by Claude Code

golangci-lint-action v6 only supports golangci-lint v1.x; the repo uses
golangci-lint v2 config, which requires action v8 (supports >= v2.1.0).
@codesandbox
Copy link
Copy Markdown

codesandbox Bot commented May 29, 2026

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@jaavier jaavier merged commit a91f0d3 into main May 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant