fix(ci): use go-test-coverage binary directly to fix Gitea Actions #96

Merged
argoyle merged 2 commits from fix/coverage-tool-binary into main 2026-04-29 06:09:53 +00:00

2 Commits

Author SHA1 Message Date
argoyle 4c34b45b2a chore(deps): bump go directive to 1.26.2
pagination / vulnerabilities (pull_request) Successful in 1m45s
pagination / test (pull_request) Successful in 2m49s
pre-commit / pre-commit (pull_request) Successful in 6m4s
Match toolchain version. We are the sole consumers of this module.
2026-04-29 07:47:22 +02:00
argoyle 967e0ae1f1 fix(ci): use go-test-coverage binary directly to fix Gitea Actions
pagination / vulnerabilities (pull_request) Failing after 1m38s
pagination / test (pull_request) Failing after 2m17s
pre-commit / pre-commit (pull_request) Successful in 5m17s
vladopajic/go-test-coverage@v2 (v2.18.5+) restructured the composite
action to pass inputs via env-var mapping. Gitea act_runner does not
expand expressions in those blocks, so the literal string
'${{ inputs.config }}' reached the binary, breaking the coverage step.

Replace the action with a direct go install + binary invocation
(matching the Frostmoln pattern) and use --github-action-output to
expose total-coverage as a step output, dropping manual
'go tool cover -func' calculations.
2026-04-29 07:17:01 +02:00