Commit Graph

6 Commits

Author SHA1 Message Date
renovate 4868cdf2c1 chore(deps): update actions/checkout action to v7
renovate/stability-days Updates have met minimum release age requirement
pagination / test (pull_request) Successful in 2m57s
pagination / vulnerabilities (pull_request) Successful in 1m31s
pre-commit / pre-commit (pull_request) Successful in 5m14s
2026-06-20 18:10:09 +00:00
argoyle 557abf0540 fix(ci): use go-test-coverage binary directly to fix Gitea Actions (#96)
Release / release (push) Successful in 52s
pagination / vulnerabilities (push) Successful in 1m49s
pagination / test (push) Successful in 3m2s
pre-commit / pre-commit (push) Successful in 6m29s
## Summary

- `vladopajic/go-test-coverage@v2` (v2.18.5+, released 2026-04-26/27) restructured its composite action to pass inputs via env-var mapping. Gitea `act_runner` doesn't expand `${{ }}` expressions inside docker-action `env:` blocks reliably, so the literal string `${{ inputs.config }}` reached the binary and broke the 'Check coverage' step.
- Replace the action with a direct `go install` + binary invocation (matching the established Frostmoln pattern).
- Use `--github-action-output` to expose `total-coverage` as a step output, replacing the manual `go tool cover -func | grep | awk` calculations.
- Baseline artifact now stores the percentage directly instead of the full coverage profile.
- Bump `go` directive in `go.mod` from 1.24.4 → 1.26.2 (matching toolchain) — we are the sole consumers of this module.

## Test plan

- [x] `prek run --all-files` passes
- [ ] CI passes on this PR
- [ ] After merge, baseline artifact format propagates on next push to main

Reviewed-on: #96
2026-04-29 06:09:52 +00:00
argoyle 768dbed8f3 ci: add code coverage integration
pagination / test (pull_request) Successful in 6m26s
pagination / vulnerabilities (pull_request) Successful in 6m27s
pre-commit / pre-commit (pull_request) Successful in 11m3s
Add go-test-coverage for coverage threshold enforcement. Coverage data
is uploaded as artifacts on main branch and compared against baseline
in PRs using shell script that gracefully handles first run without
baseline. PR comments show coverage percentage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 13:03:30 +01:00
renovate 6976dec872 chore(deps): update actions/setup-go action to v6
pagination / test (pull_request) Successful in 1m57s
pagination / vulnerabilities (pull_request) Successful in 2m21s
2026-01-08 15:12:29 +00:00
renovate 67dc073454 chore(deps): update actions/checkout action to v6
pagination / vulnerabilities (pull_request) Successful in 3m18s
pagination / test (pull_request) Successful in 3m39s
2026-01-08 14:04:58 +00:00
argoyle 583eaae203 feat: add Gitea Actions workflow
pagination / test (pull_request) Successful in 1m15s
pagination / vulnerabilities (pull_request) Successful in 1m16s
2026-01-08 14:04:07 +01:00