refactor: update go-validate workflow#623
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.mod directly for version specification, adds concurrency control to prevent redundant workflow runs, and enhances error messages for better developer experience.
Changes:
- Removed the get-go-version job and job dependencies, using go-version-file: go.mod instead
- Added concurrency control to cancel in-progress runs when new commits are pushed
- Improved error messages in check-mod-tidy, check-fmt, and check-generate jobs with clearer instructions
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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>
8d95c19 to
eddec75
Compare
|
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
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