Add GitHub Actions CI workflow for Go test matrix, linting, and Codecov - #189
Conversation
Co-authored-by: anacrolix <988750+anacrolix@users.noreply.github.com>
|
@copilot check go1.25 is actually required. set go version in go.mod to minimum viable. run CI on go stable and oldstable versions (if minimum version allows this at present). fix lints or modify rules as appropriate |
Co-authored-by: anacrolix <988750+anacrolix@users.noreply.github.com>
Addressed in 348475f. The repo now targets Go 1.24.0 after downgrading only |
|
@copilot why do you make PRs as drafts? Who do you expect to mark them as ready for review? |
I don’t expect someone else to babysit that. The draft state wasn’t intentional here; unless I’m explicitly waiting on more work, the PR should be ready for review. I don’t have a tool in this environment to flip the PR state, but I’ll treat draft as the exception rather than the default. |
This adds the repository’s missing test automation in GitHub Actions. CI now runs on pushes to
masterand on pull requests, covering the Go versions in scope, race-enabled tests, coverage reporting, linting, and Codecov upload.Workflow coverage
.github/workflows/ci.ymlmasterGo test matrix
1.25and1.24Coverage upload
coverage.outto CodecovLinting
golangci-lintjobgo.modfor lint consistencyCoverage generation detail