Skip to content

ci: run staticcheck once instead of 4x matrix#4085

Open
nogates wants to merge 1 commit into
nogates/ci-upgrade-action-versionsfrom
nogates/ci-reduce-staticcheck-matrix
Open

ci: run staticcheck once instead of 4x matrix#4085
nogates wants to merge 1 commit into
nogates/ci-upgrade-action-versionsfrom
nogates/ci-reduce-staticcheck-matrix

Conversation

@nogates
Copy link
Copy Markdown
Contributor

@nogates nogates commented May 14, 2026

Summary

  • Static analysis results don't vary across Go minor versions (1.22 vs 1.23) or build tags (--tags=goccy_gojson vs default)
  • Remove the matrix and run staticcheck once with Go 1.23.x, reducing from 4 jobs to 1

Stack

1/6 — ci: remove platform matrix (#4083)
2/6 — ci: upgrade action versions (#4084)
3/6 — this PR
4/6 — ci: extract license check
5/6 — ci: cache Go build cache
6/6 — ci: optimize gotestsum install

Test plan

  • Verify staticcheck still runs and catches issues on the single Go version
  • Confirm no regressions in static analysis coverage

🤖 Generated with Claude Code

Static analysis results don't vary across Go minor versions or build
tags. Run staticcheck once with the latest Go version instead of running
a full 2x2 matrix (4 jobs -> 1 job).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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