refactor: simplify go version in release workflow#625
Conversation
Removed the separate job for reading the Go version from .'go-version 'and now use the 'go.mod' file directly. This streamlines the workflow and reduces complexity. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
There was a problem hiding this comment.
Pull request overview
This PR refactors the release GitHub Actions workflow to source the Go version directly from go.mod, removing the dedicated job that previously read from .go-version.
Changes:
- Removed the
get-go-versionjob and theneedsdependency from the release workflow. - Updated
actions/setup-goto usego-version-file: go.modin the release job.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
This functionality has been released in v2.1.0 of the plugin. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
1 similar comment
|
This functionality has been released in v2.1.0 of the plugin. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
|
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Summary
Removed the separate job for reading the Go version from .'go-version 'and now use the 'go.mod' file directly.
This streamlines the workflow and reduces complexity.
Type
fix: Bug Fixfeat: Feature or Enhancementdocs: Documentationrefactor: Refactoringchore: Build, Dependencies, Workflows, etc.other: Other (Please describe.)Breaking Changes?
Tests
Output:
Documentation
Issue References
Release Note
Additional Information