chore(ci): improve go version management in CI#97
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #97 +/- ##
==========================================
+ Coverage 79.90% 87.47% +7.56%
==========================================
Files 28 28
Lines 2195 1980 -215
==========================================
- Hits 1754 1732 -22
+ Misses 412 227 -185
+ Partials 29 21 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates GitHub Actions workflows to standardize how Go versions are selected in CI and to narrow when coverage/codecov runs.
Changes:
- Switch
release.ymlandlint.ymlto useactions/setup-gowithgo-version-file: go.mod. - Update
test.ymlGo matrix entries (replace1.xwithstableand add1.26) and run coverage/codecov only on thestablematrix job. - Rework
lint.ymlstep order to checkout beforesetup-go(required when usinggo-version-file).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/test.yml | Adjusts Go matrix and limits coverage/codecov to the stable job; also changes workflow triggers. |
| .github/workflows/release.yml | Uses go.mod to select the Go version for release workflow runs. |
| .github/workflows/lint.yml | Uses go.mod for Go version and moves checkout before setup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| tags: | ||
| branches: | ||
| pull_request: | ||
| # pull_request: |
There was a problem hiding this comment.
pull_request trigger is commented out, so this workflow will no longer run for PRs (only on pushes). This is a significant behavior change and doesn't match the PR's stated goal of Go version management; re-enable pull_request: (or document why PR validation is intentionally disabled).
| # pull_request: | |
| pull_request: |
No description provided.