Skip to content

ci: send coverage from the Go 1.26.x leg (step skipped since #1535) - #1671

Merged
nodivbyzero merged 2 commits into
go-playground:masterfrom
glaziermag:ci/send-coverage-go-1.27
Oct 14, 2026
Merged

nodivbyzero merged 2 commits into
go-playground:masterfrom
glaziermag:ci/send-coverage-go-1.27

Conversation

@glaziermag

Copy link
Copy Markdown
Contributor

Fixes Or Enhances

Send Coverage in .github/workflows/workflow.yml only runs when matrix.go-version == '1.24.x', and #1535 (Go 1.26 support) took 1.24.x out of the matrix. No job has matched since, so the step is skipped on every run and Coveralls has had no master build after f5c74ce (2026-02-17, 60 commits back). The README badge still shows that build's 74%.

This points the condition at 1.27.x, the newest version in the matrix, as earlier Go bumps did (4a1bc2f, 909c504).

To check:

  • Latest master run, 38437806547: Send Coverage is skipped in all six test jobs.
  • curl -s 'https://coveralls.io/github/go-playground/validator.json?branch=master' returns "created_at":"2026-02-17T17:35:49Z" and "commit_sha":"f5c74ce5...".
  • With this change on my fork, the step runs on test (1.27.x, ubuntu-latest) only and the upload succeeds: job log. That build reported 69.6% for the same tree.

Coveralls will compare this PR against the February build, so its status may show a drop. The diff touches no Go code.

The literal needs the same bump in the next Go-version PR. An include entry carrying coverage: true would avoid that, if you prefer it.

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

Not applicable: workflow-only change.

@go-playground/validator-maintainers

Generated with Claude Code (Claude Opus 5.5), disclosed per the AI Agents section of CONTRIBUTING. The commit carries the Co-Authored-By trailer.

The "Send Coverage" step is gated on matrix.go-version == '1.24.x', but
1.24.x left the test matrix in go-playground#1535 (Go 1.26 support), so the step has
been skipped on every job since and Coveralls has had no master build
after f5c74ce (2026-02-17). Point the condition at 1.27.x, the newest
version in the matrix, as earlier Go bumps did.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@glaziermag
glaziermag requested a review from a team as a code owner October 13, 2026 19:50
@coveralls

coveralls commented Oct 13, 2026 •

Copy link
Copy Markdown

Coverage Status

Coverage is 72.569% — glaziermag:ci/send-coverage-go-1.27 into go-playground:master. No base build found for go-playground:master.

Comment thread .github/workflows/workflow.yml Outdated
@nodivbyzero nodivbyzero changed the title ci: send coverage from the Go 1.27.x leg (step skipped since #1535) ci: send coverage from the Go 1.26.x leg (step skipped since #1535) Oct 14, 2026
@nodivbyzero
nodivbyzero merged commit 3b54840 into go-playground:master Oct 14, 2026
8 checks passed
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.

3 participants