Skip to content

refactor: update go-validate workflow#623

Merged
tenthirtyam merged 1 commit intomainfrom
refactor/update-go-validate-workflow
Jan 31, 2026
Merged

refactor: update go-validate workflow#623
tenthirtyam merged 1 commit intomainfrom
refactor/update-go-validate-workflow

Conversation

@tenthirtyam
Copy link
Copy Markdown
Collaborator

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 Fix
  • feat: Feature or Enhancement
  • docs: Documentation
  • refactor: Refactoring
  • chore: Build, Dependencies, Workflows, etc.
  • other: Other (Please describe.)

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Tests

  • Tests have been added or updated.
  • Tests have been completed.

Output:

Documentation

  • Documentation has been added or updated.

Issue References

Release Note

Additional Information

@tenthirtyam tenthirtyam added this to the v2.1.0 milestone Jan 31, 2026
@tenthirtyam tenthirtyam self-assigned this Jan 31, 2026
Copilot AI review requested due to automatic review settings January 31, 2026 17:07
@tenthirtyam tenthirtyam added chore Chore github-actions GitHub Actions labels Jan 31, 2026
@github-actions github-actions bot added needs-review Needs Review size/m Relative Sizing: Medium labels Jan 31, 2026
Copy link
Copy Markdown

Copilot AI left a comment

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 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>
@tenthirtyam tenthirtyam force-pushed the refactor/update-go-validate-workflow branch from 8d95c19 to eddec75 Compare January 31, 2026 17:11
@tenthirtyam tenthirtyam merged commit d4a7a6e into main Jan 31, 2026
12 checks passed
@tenthirtyam tenthirtyam deleted the refactor/update-go-validate-workflow branch January 31, 2026 17:14
@tenthirtyam tenthirtyam removed the needs-review Needs Review label Jan 31, 2026
@github-actions
Copy link
Copy Markdown

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
@github-actions
Copy link
Copy Markdown

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!

@github-actions
Copy link
Copy Markdown

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

chore Chore github-actions GitHub Actions size/m Relative Sizing: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants