Skip to content

chore(ci): improve go version management in CI#97

Merged
samber merged 1 commit intomasterfrom
chore/improve-ci-go-version
Feb 21, 2026
Merged

chore(ci): improve go version management in CI#97
samber merged 1 commit intomasterfrom
chore/improve-ci-go-version

Conversation

@samber
Copy link
Owner

@samber samber commented Feb 21, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 21, 2026 17:07
@codecov
Copy link

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.47%. Comparing base (4e29108) to head (b8d22df).
⚠️ Report is 2 commits behind head on master.

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     
Flag Coverage Δ
unittests 87.47% <ø> (+7.56%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@samber samber merged commit 6894904 into master Feb 21, 2026
15 checks passed
@samber samber deleted the chore/improve-ci-go-version branch February 21, 2026 17:09
Copy link

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

Updates GitHub Actions workflows to standardize how Go versions are selected in CI and to narrow when coverage/codecov runs.

Changes:

  • Switch release.yml and lint.yml to use actions/setup-go with go-version-file: go.mod.
  • Update test.yml Go matrix entries (replace 1.x with stable and add 1.26) and run coverage/codecov only on the stable matrix job.
  • Rework lint.yml step order to checkout before setup-go (required when using go-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:
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).

Suggested change
# pull_request:
pull_request:

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants