Add dynamic Go version matrix to workflow - #142
Conversation
…o Ginkgo Runs all minor versions from that in the go directive to the latest stable
There was a problem hiding this comment.
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-versionsjob that usesarnested/go-version-action@v2to dynamically determine Go versions to test - Modified the
buildjob to depend ongo-versionsand run tests across a matrix of Go versions - Switched test command from
go testtogo run github.com/onsi/ginkgo/v2/ginkgowith comprehensive test flags
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
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. |
Runs all minor versions from that in the go directive to the latest stable