Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #19 +/- ##
==========================================
- Coverage 93.91% 93.85% -0.06%
==========================================
Files 3 3
Lines 115 114 -1
==========================================
- Hits 108 107 -1
Misses 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s Go/tooling baseline and CI configuration, while making small Go code adjustments to align with newer Go/linters.
Changes:
- Bump module Go version to
go 1.24. - Update GitHub Actions workflows (setup-go/checkout/codecov/golangci-lint action versions) and overhaul
.golangci.ymlto the v2 config style. - Refactor internal counters to use
atomic.Int64and modernize variadic params from...interface{}to...any; add/adjustnolintdirectives in tests.
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 |
|---|---|
go.mod |
Bumps module Go version to 1.24. |
.github/workflows/test.yml |
Updates action versions and Codecov action usage. |
.github/workflows/lint.yml |
Updates action versions and pins golangci-lint version. |
.golangci.yml |
Replaces prior lint config with a v2-style config and formatter list. |
write.go |
Switches live line counter to atomic.Int64, updates variadic params to any, adjusts live-line clearing loop. |
exit.go |
Switches timeout field to atomic.Int64 and updates atomic access. |
write_test.go |
Adds nolint:lll for an intentionally long expected-output string; copyright year bump. |
exit_test.go |
Updates nolint directive to err113 and removes an inline nolint; copyright year bump. |
cmd_test.go |
Updates nolint directive to err113; copyright year bump. |
cli.go |
Copyright year bump only. |
cmd.go |
Copyright year bump only. |
LICENSE.txt |
Copyright year bump. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.