refactor: update go-validate workflow#442
Conversation
There was a problem hiding this comment.
Pull request overview
This PR refactors the go-validate workflow to simplify Go version management and improve maintainability. It removes the separate get-go-version job in favor of using go-version-file: go.mod parameter in actions/setup-go, which is already used in other workflows in this repository. The changes add concurrency control, enable caching, improve error messages, and standardize step naming.
Changes:
- Added concurrency control to prevent redundant workflow runs
- Replaced separate get-go-version job with inline
go-version-file: go.modconfiguration - Enhanced error messages across all validation steps with clearer instructions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ad088bb to
7584d3a
Compare
Simplifies the workflow by removing the separate get-go-version job and using go.mod for Go version management. Adds concurrency control, improves go mod tidy and gofmt checks with clearer error messages, and standardizes job names and steps for better maintainability. Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
7584d3a to
19f5455
Compare
|
This functionality has been released in v2.0.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.0.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
Simplifies the workflow by removing the separate get-go-version job and using go.mod for Go version management. Adds concurrency control, improves go mod tidy and gofmt checks with clearer error messages, and standardizes job names and steps for better maintainability.
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