Skip to content

Add dynamic Go version matrix to workflow - #142

Merged
duanemay merged 3 commits into
masterfrom
build_matrix
Feb 26, 2026
Merged

Add dynamic Go version matrix to workflow#142
duanemay merged 3 commits into
masterfrom
build_matrix

Conversation

@duanemay

Copy link
Copy Markdown
Member

Runs all minor versions from that in the go directive to the latest stable

…o Ginkgo

Runs all minor versions from that in the go directive to the latest stable
Copilot AI review requested due to automatic review settings February 13, 2026 22:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the GitHub Actions workflow by implementing a dynamic Go version matrix that automatically tests against all minor versions from the go.mod directive through the latest stable release, replacing the previous hardcoded "oldstable" version. It also standardizes test execution to use the Ginkgo test runner with comprehensive flags including race detection and randomization.

Changes:

  • Added a new go-versions job that uses arnested/go-version-action@v2 to dynamically determine Go versions to test
  • Modified the build job to depend on go-versions and run tests across a matrix of Go versions
  • Switched test command from go test to go run github.com/onsi/ginkgo/v2/ginkgo with comprehensive test flags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Comment thread .github/workflows/go.yml Fixed
@duanemay
duanemay requested a review from strehle February 17, 2026 19:44
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Feb 26, 2026
@duanemay
duanemay merged commit 542b4c4 into master Feb 26, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants