-
Notifications
You must be signed in to change notification settings - Fork 594
chore(ci): cleanup parameters for actions/setup-go
#4813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): cleanup parameters for actions/setup-go
#4813
Conversation
Remove `check-latest: true`. No longer needed with actions/setup-go@v6
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #4813 +/- ##
==========================================
+ Coverage 75.86% 76.39% +0.53%
==========================================
Files 470 530 +60
Lines 37301 40443 +3142
==========================================
+ Hits 28299 30898 +2599
- Misses 7071 7502 +431
- Partials 1931 2043 +112 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this 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 cleans up GitHub Actions workflow configurations by removing unnecessary parameters from the actions/setup-go@v6 action and adding documentation improvements. The changes focus on modernizing the CI configuration to align with the latest version of the setup-go action.
- Remove
check-latest: trueparameter from all setup-go action usages (no longer needed in v6) - Remove unused
id: goidentifiers from setup-go steps - Add category parameter to OSSF scorecard SARIF upload for better organization
- Document parameter choices in govulncheck step with explanatory comments
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/volume-shadow-copy-test.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/tests.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/stress-test.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/race-detector.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/providers-extra.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/providers-core.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/ossf-scorecard.yml | Add category parameter to SARIF upload |
| .github/workflows/make.yml | Remove check-latest parameter from setup-go |
| .github/workflows/lint.yml | Remove check-latest and id, add documentation for govulncheck parameters |
| .github/workflows/license-check.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/compat-test.yml | Remove check-latest and id parameters from setup-go |
| .github/workflows/code-coverage.yml | Remove check-latest and id parameters from setup-go |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Remove
check-latest: true. No longer needed with actions/setup-go@v6Also: