Commit Graph

6 Commits

Author SHA1 Message Date
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 88b4ab1467 chore: migrate module path to gitea.unbound.se
pagination / test (pull_request) Successful in 5m23s
pagination / vulnerabilities (pull_request) Successful in 6m20s
pre-commit / pre-commit (pull_request) Successful in 13m35s
Update module path from git.unbound.se to gitea.unbound.se for Go module
discovery over HTTPS.
2026-01-09 14:09:11 +01:00
argoyle ea0595f8cb chore: migrate module path from GitLab to Gitea
pagination / test (pull_request) Successful in 2m0s
pagination / vulnerabilities (pull_request) Successful in 1m59s
- Update go.mod module path to git.unbound.se/unboundsoftware/pagination
- Remove GitLab CI linter from pre-commit config
- Update go-imports local path for new domain
- Remove GitLab badges from README
- Delete .gitlab-ci.yml (Gitea Actions workflow already exists)
2026-01-09 07:58:49 +01:00
Renovate e3d43560af fix(deps): update module github.com/stretchr/testify to v1.11.1 2025-08-27 11:54:56 +00:00
Renovate 46115c2353 fix(deps): update module github.com/stretchr/testify to v1.11.0 2025-08-24 16:54:35 +00:00
argoyle 26eff55974 feat: initial version 2025-06-07 19:44:54 +02:00