23 Commits
Author SHA1 Message Date
releaser c80cad7514 chore(release): prepare for v0.2.3
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
pagination / test (pull_request) Successful in 1m20s
pagination / vulnerabilities (pull_request) Successful in 1m12s
pre-commit / pre-commit (pull_request) Successful in 2m24s
2026-08-31 00:40:41 +00:00
releaser bf5b5ce8d8 chore(release): prepare for v0.2.3
pre-commit / pre-commit (push) Skipped
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
2026-08-31 00:40:37 +00:00
renovate 4147f5876d chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.2 (#119)
Unbound Release / Check Preconditions (push) Successful in 20s
Unbound Release / Create Tag (push) Skipped
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Create Release (push) Successful in 33s
Release / release (push) Successful in 7m36s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 37s
2026-08-31 00:26:01 +00:00
releaser 8da402d0c4 chore(release): prepare for v0.2.2 (#118)
Unbound Release / Check Preconditions (push) Successful in 26s
Unbound Release / Create Tag (push) Skipped
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Create Release (push) Successful in 30s
Release / release (push) Successful in 4m18s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 30s
## [0.2.2] - 2026-08-21

### 🐛 Bug Fixes

- *(ci)* Use go-test-coverage binary directly to fix Gitea Actions (#96)
- *(deps)* Update module github.com/stretchr/testify to v1.12.0 (#113)
- *(deps)* Update module github.com/stretchr/testify to v1.12.1 (#115)

### ⚙️ Miscellaneous Tasks

- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.24.0 (#77)
- Add code coverage integration
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.9.0 (#81)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.10.1 (#82)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.1 (#85)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.2 (#87)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.3 (#89)
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.30.1 (#91)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.4 (#93)
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.25.0 (#98)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.12.0 (#100)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.12.1 (#102)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.12.2 (#103)
- *(deps)* Update actions/checkout action to v7 (#105)
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.26.0 (#107)
- *(deps)* Update actions/setup-go action to v7 (#109)
- *(deps)* Update actions/setup-python action to v7 (#111)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.13.1 (#116)

<!-- generated by git-cliff -->

---

**Note:** Please use **Squash Merge** when merging this PR.

Reviewed-on: #118
Co-authored-by: Unbound Releaser <releaser@unbound.se>
2026-08-29 11:27:26 +00:00
renovate 9689451cf9 fix(deps): update module github.com/stretchr/testify to v1.12.1 (#115)
pagination / vulnerabilities (push) Skipped
Unbound Release / Check Preconditions (push) Successful in 22s
pagination / test (push) Skipped
Unbound Release / Create Release (push) Successful in 29s
pre-commit / pre-commit (push) Successful in 2m57s
Unbound Release / Create Tag (push) Skipped
Release / release (push) Successful in 1m51s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 38s
2026-08-21 14:07:25 +00:00
renovate 160d68182c chore(deps): update pre-commit hook golangci/golangci-lint to v2.13.1 (#116)
Unbound Release / Create Release (push) Successful in 24s
Unbound Release / Check Preconditions (push) Successful in 30s
Unbound Release / Create Tag (push) Skipped
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
Unbound Release / Generate Changelog and Handle PR (push) Successful in 45s
pre-commit / pre-commit (push) Successful in 2m32s
Release / release (push) Successful in 1m34s
2026-08-21 13:17:18 +00:00
renovate 9b47d10ad3 fix(deps): update module github.com/stretchr/testify to v1.12.0 (#113)
Unbound Release / Check Preconditions (push) Successful in 21s
Unbound Release / Create Tag (push) Skipped
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
Unbound Release / Create Release (push) Successful in 23s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 40s
pre-commit / pre-commit (push) Skipped
Release / release (push) Successful in 23m53s
2026-08-17 09:43:28 +00:00
renovate 51705e9c4d chore(deps): update actions/setup-python action to v7 (#111)
Unbound Release / Create Tag (push) Skipped
Unbound Release / Check Preconditions (push) Successful in 27s
pagination / test (push) Skipped
pagination / vulnerabilities (push) Skipped
pre-commit / pre-commit (push) Skipped
Unbound Release / Create Release (push) Successful in 29s
Release / release (push) Successful in 8m19s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 51s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-python](https://github.com/actions/setup-python) | action | major | `v6` → `v7` |

---

### Release Notes

<details>
<summary>actions/setup-python (actions/setup-python)</summary>

### [`v7.0.0`](https://github.com/actions/setup-python/releases/tag/v7.0.0)

[Compare Source](https://github.com/actions/setup-python/compare/v7.0.0...v7.0.0)

#### What's Changed

##### Enhancements

- Migrate to ESM and upgrade dependencies by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;1330](https://github.com/actions/setup-python/pull/1330)
- Pin SHA commits and update docs with latest versions by [@&#8203;HarithaVattikuti](https://github.com/HarithaVattikuti) in [#&#8203;1338](https://github.com/actions/setup-python/pull/1338)
- Remove the pip-install input by [@&#8203;gowridurgad](https://github.com/gowridurgad) in [#&#8203;1336](https://github.com/actions/setup-python/pull/1336)

##### Bug Fix

- Fix to Classify stderr warning messages as warnings instead of errors in annotations by [@&#8203;lmvysakh](https://github.com/lmvysakh) in [#&#8203;1335](https://github.com/actions/setup-python/pull/1335)
- Validate and retry manifest fetch to prevent silent failures by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;1332](https://github.com/actions/setup-python/pull/1332)

##### Dependency Upgrade

- Bump certifi from 2020.6.20 to 2024.7.4 in /**tests**/data by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;1328](https://github.com/actions/setup-python/pull/1328)
- Remove EOL Python versions and Bumps numpy text fixture by [@&#8203;priya-kinthali](https://github.com/priya-kinthali) in [#&#8203;1333](https://github.com/actions/setup-python/pull/1333)
- Upgrade [@&#8203;actions/cache](https://github.com/actions/cache) to 6.2.0 by [@&#8203;philip-gai](https://github.com/philip-gai) in [#&#8203;1337](https://github.com/actions/setup-python/pull/1337)

#### New Contributors

- [@&#8203;lmvysakh](https://github.com/lmvysakh) made their first contribution in [#&#8203;1335](https://github.com/actions/setup-python/pull/1335)
- [@&#8203;philip-gai](https://github.com/philip-gai) made their first contribution in [#&#8203;1337](https://github.com/actions/setup-python/pull/1337)

**Full Changelog**: <https://github.com/actions/setup-python/compare/v6...v7.0.0>

### [`v7`](https://github.com/actions/setup-python/compare/v6.3.0...v7.0.0)

[Compare Source](https://github.com/actions/setup-python/compare/v6.3.0...v7.0.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNTcuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI1Ny4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->Reviewed-on: #111

Co-authored-by: Renovate Bot <renovate@unbound.se>
2026-07-25 11:30:23 +00:00
renovate b4e2cedcb3 chore(deps): update actions/setup-go action to v7 (#109)
Release / release (push) Successful in 45s
pagination / vulnerabilities (push) Successful in 51s
pagination / test (push) Successful in 1m11s
pre-commit / pre-commit (push) Successful in 2m54s
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v6` → `v7` |

---

### Release Notes

<details>
<summary>actions/setup-go (actions/setup-go)</summary>

### [`v7.0.0`](https://github.com/actions/setup-go/releases/tag/v7.0.0)

[Compare Source](https://github.com/actions/setup-go/compare/v7.0.0...v7.0.0)

##### What's Changed

- Migrate to ESM and upgrade dependencies by [@&#8203;priyagupta108](https://github.com/priyagupta108) in [#&#8203;763](https://github.com/actions/setup-go/pull/763)
- chore(deps): bump [@&#8203;actions/cache](https://github.com/actions/cache) to 6.2.0 by [@&#8203;philip-gai](https://github.com/philip-gai) in [#&#8203;771](https://github.com/actions/setup-go/pull/771)

##### New Contributors

- [@&#8203;philip-gai](https://github.com/philip-gai) made their first contribution in [#&#8203;771](https://github.com/actions/setup-go/pull/771)

**Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v7.0.0>

### [`v7`](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0)

[Compare Source](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDMuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #109
Co-authored-by: Renovate Bot <renovate@unbound.se>
Co-committed-by: Renovate Bot <renovate@unbound.se>
2026-07-19 18:43:48 +00:00
renovate fa6b186e15 chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.26.0 (#107)
pagination / test (push) Successful in 1m30s
pagination / vulnerabilities (push) Successful in 1m0s
Release / release (push) Successful in 44s
pre-commit / pre-commit (push) Successful in 3m25s
2026-06-27 22:36:09 +00:00
renovate 61fa87dc0d chore(deps): update actions/checkout action to v7 (#105)
Release / release (push) Successful in 1m1s
pagination / vulnerabilities (push) Successful in 1m33s
pagination / test (push) Successful in 2m18s
pre-commit / pre-commit (push) Successful in 5m17s
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | major | `v6` → `v7` | `v7.0.0` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v7.0.0`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700)

[Compare Source](https://github.com/actions/checkout/compare/v7.0.0...v7.0.0)

- Block checking out fork PR for pull\_request\_target and workflow\_run by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2454](https://github.com/actions/checkout/pull/2454)
- Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2458](https://github.com/actions/checkout/pull/2458)
- Bump flatted from 3.3.1 to 3.4.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2460](https://github.com/actions/checkout/pull/2460)
- Bump js-yaml from 4.1.0 to 4.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2461](https://github.com/actions/checkout/pull/2461)
- Bump [@&#8203;actions/core](https://github.com/actions/core) and [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) and Remove uuid by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2459](https://github.com/actions/checkout/pull/2459)
- upgrade module to esm and update dependencies by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2463](https://github.com/actions/checkout/pull/2463)
- Bump the minor-npm-dependencies group across 1 directory with 3 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2462](https://github.com/actions/checkout/pull/2462)

### [`v7`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700)

[Compare Source](https://github.com/actions/checkout/compare/v6.0.3...v7.0.0)

- Block checking out fork PR for pull\_request\_target and workflow\_run by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2454](https://github.com/actions/checkout/pull/2454)
- Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2458](https://github.com/actions/checkout/pull/2458)
- Bump flatted from 3.3.1 to 3.4.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2460](https://github.com/actions/checkout/pull/2460)
- Bump js-yaml from 4.1.0 to 4.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2461](https://github.com/actions/checkout/pull/2461)
- Bump [@&#8203;actions/core](https://github.com/actions/core) and [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) and Remove uuid by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2459](https://github.com/actions/checkout/pull/2459)
- upgrade module to esm and update dependencies by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2463](https://github.com/actions/checkout/pull/2463)
- Bump the minor-npm-dependencies group across 1 directory with 3 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2462](https://github.com/actions/checkout/pull/2462)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #105
Co-authored-by: Renovate Bot <renovate@unbound.se>
Co-committed-by: Renovate Bot <renovate@unbound.se>
2026-06-20 19:14:23 +00:00
renovate b7671a9885 chore(deps): update pre-commit hook golangci/golangci-lint to v2.12.2 (#103)
pagination / vulnerabilities (push) Successful in 1m34s
pagination / test (push) Successful in 2m22s
Release / release (push) Successful in 57s
pre-commit / pre-commit (push) Successful in 6m8s
2026-05-09 11:24:53 +00:00
renovate b32dc50808 chore(deps): update pre-commit hook golangci/golangci-lint to v2.12.1 (#102)
Release / release (push) Failing after 51s
pagination / vulnerabilities (push) Successful in 2m2s
pagination / test (push) Successful in 2m19s
pre-commit / pre-commit (push) Successful in 4m49s
2026-05-04 17:22:45 +00:00
renovate 4f93397ca2 chore(deps): update pre-commit hook golangci/golangci-lint to v2.12.0 (#100)
pagination / vulnerabilities (push) Successful in 1m54s
pagination / test (push) Successful in 2m30s
Release / release (push) Successful in 51s
pre-commit / pre-commit (push) Successful in 6m5s
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | repository | minor | `v2.11.4` → `v2.12.0` | `v2.12.1` |

Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v2.12.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2120)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v2.11.4...v2.12.0)

*Released on 2026-05-01*

1. New linters
   - Add `clickhouselint` linter <https://github.com/ClickHouse/clickhouse-go-linter>
2. Linters new features or changes
   - `dupl`: from [`f665c8d`](https://github.com/golangci/golangci-lint/commit/f665c8d69b32) to [`c99c5cf`](https://github.com/golangci/golangci-lint/commit/c99c5cf5c202) (extended detection)
   - `funcorder`: from 0.5.0 to 0.6.0 (new option: `function`)
   - `goconst`: add an option to ignore strings from tests
   - `goconst`: from 1.8.2 to 1.10.0 (extended detection)
   - `gomodguard_v2`: from 1.4.1 to 2.1.0 (major version with new configuration)
   - `gosec`: from [`619ce21`](https://github.com/golangci/golangci-lint/commit/619ce2117e08) to 2.26.1 (new checks: `G124`, `G708`, `G709`, `G710`)
   - `govet`: add `inline` analyzer
   - `makezero`: from 2.1.0 to 2.2.1 (support slice type aliases)
   - `paralleltest`: expose `checkcleanup` option
   - `sloglint`: from 0.11.1 to 0.12.0 (new options: `allowed-keys`, `custom-funcs`)
   - `wsl_v5`: from 5.6.0 to 5.8.0 (new option: `cuddle-max-statements`; new checks: `after-decl`, `after-defer`, `after-expr`, `after-go`, `cuddle-group`)
3. Linters bug fixes
   - `forbidigo`: from 2.3.0 to 2.3.1
   - `godot`: from 1.5.4 to 1.5.6
   - `govet-modernize`: from 0.43.0 to 0.44.0
   - `ireturn`: from 0.4.0 to 0.4.1
   - `rowserrcheck`: from 1.1.1 to [`c5f79b8`](https://github.com/golangci/golangci-lint/commit/c5f79b8)
4. Misc.
   - Decrease cache entropy
   - Embed the JSON schema in the binary
   - Filter env vars when cloning the repository with the `custom` command

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #100
Co-authored-by: Renovate Bot <renovate@unbound.se>
Co-committed-by: Renovate Bot <renovate@unbound.se>
2026-05-04 13:34:06 +00:00
renovate 929e40c30d chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.25.0 (#98)
pagination / test (push) Successful in 2m11s
pagination / vulnerabilities (push) Successful in 2m12s
Release / release (push) Successful in 52s
pre-commit / pre-commit (push) Successful in 5m50s
2026-05-03 16:40:31 +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
renovate 7be94f8628 chore(deps): update pre-commit hook golangci/golangci-lint to v2.11.4 (#93)
pagination / vulnerabilities (push) Successful in 1m45s
pagination / test (push) Successful in 2m54s
Release / release (push) Successful in 56s
pre-commit / pre-commit (push) Successful in 6m27s
2026-03-22 19:23:59 +00:00
renovate e2c8734975 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.30.1 (#91)
pagination / test (push) Successful in 3m7s
Release / release (push) Successful in 1m6s
pagination / vulnerabilities (push) Successful in 2m7s
pre-commit / pre-commit (push) Successful in 7m43s
2026-03-12 16:24:39 +00:00
renovate 2e9eae73d2 chore(deps): update pre-commit hook golangci/golangci-lint to v2.11.3 (#89)
Release / release (push) Successful in 1m31s
pagination / vulnerabilities (push) Successful in 2m26s
pagination / test (push) Successful in 3m35s
pre-commit / pre-commit (push) Successful in 7m35s
2026-03-10 11:22:32 +00:00
renovate d53db1d334 chore(deps): update pre-commit hook golangci/golangci-lint to v2.11.2 (#87)
Release / release (push) Successful in 51s
pagination / vulnerabilities (push) Successful in 1m16s
pagination / test (push) Successful in 1m44s
pre-commit / pre-commit (push) Successful in 4m7s
2026-03-07 22:42:56 +00:00
renovate eb7eaae42b chore(deps): update pre-commit hook golangci/golangci-lint to v2.11.1 (#85)
pre-commit / pre-commit (push) Successful in 8m6s
pagination / vulnerabilities (push) Successful in 1m35s
pagination / test (push) Successful in 2m30s
Release / release (push) Successful in 1m15s
2026-03-06 16:09:16 +00:00
renovate c4e665ebc7 chore(deps): update pre-commit hook golangci/golangci-lint to v2.10.1 (#82)
pagination / test (push) Successful in 6m42s
pre-commit / pre-commit (push) Successful in 12m48s
pagination / vulnerabilities (push) Successful in 1m45s
Release / release (push) Successful in 3m30s
2026-02-17 17:34:59 +00:00
renovate 6325a514b6 chore(deps): update pre-commit hook golangci/golangci-lint to v2.9.0 (#81)
Release / release (push) Failing after 2m4s
pagination / test (push) Successful in 4m16s
pagination / vulnerabilities (push) Successful in 6m30s
pre-commit / pre-commit (push) Successful in 9m13s
2026-02-11 13:24:05 +00:00
7 changed files with 64 additions and 43 deletions
+15 -19
View File
@@ -10,19 +10,18 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
- name: Run tests
run: go test -race -coverprofile=coverage.txt ./...
- name: Check coverage
uses: vladopajic/go-test-coverage@v2
with:
config: ./.testcoverage.yml
# Download baseline coverage from main branch (for PRs)
id: coverage
run: |
go install github.com/vladopajic/go-test-coverage/v2@latest
go-test-coverage --config ./.testcoverage.yml --github-action-output
- name: Download baseline coverage
if: gitea.event_name == 'pull_request'
uses: actions/download-artifact@v3
@@ -30,14 +29,12 @@ jobs:
name: coverage-baseline
path: ./baseline
continue-on-error: true
# Compare coverage against baseline (for PRs)
- name: Compare coverage
if: gitea.event_name == 'pull_request'
run: |
CURRENT=$(go tool cover -func=coverage.txt | grep "^total:" | awk '{print $NF}' | tr -d '%')
CURRENT="${{ steps.coverage.outputs.total-coverage }}"
if [ -f ./baseline/coverage.txt ]; then
BASE=$(go tool cover -func=./baseline/coverage.txt | grep "^total:" | awk '{print $NF}' | tr -d '%')
BASE=$(cat ./baseline/coverage.txt)
echo "Base coverage: ${BASE}%"
echo "Current coverage: ${CURRENT}%"
if [ "$(echo "$CURRENT < $BASE" | bc -l)" -eq 1 ]; then
@@ -49,8 +46,9 @@ jobs:
echo "No baseline coverage found, skipping comparison"
echo "Current coverage: ${CURRENT}%"
fi
# Upload coverage as baseline (only on main)
- name: Save coverage baseline
if: gitea.ref == 'refs/heads/main'
run: echo "${{ steps.coverage.outputs.total-coverage }}" > coverage.txt
- name: Upload coverage baseline
if: gitea.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
@@ -58,25 +56,23 @@ jobs:
name: coverage-baseline
path: coverage.txt
retention-days: 90
# Post coverage to PR comment
- name: Post coverage comment
if: gitea.event_name == 'pull_request'
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_URL: ${{ gitea.server_url }}
run: |
COVERAGE=$(go tool cover -func=coverage.txt | grep "^total:" | awk '{print $NF}')
COVERAGE="${{ steps.coverage.outputs.total-coverage }}"
curl -X POST "${GITEA_URL}/api/v1/repos/${{ gitea.repository }}/issues/${{ gitea.event.pull_request.number }}/comments" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d "{\"body\": \"## Coverage Report\n\nTotal coverage: **${COVERAGE}**\"}"
-d "{\"body\": \"## Coverage Report\n\nTotal coverage: **${COVERAGE}%**\"}"
vulnerabilities:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
- name: Check vulnerabilities
+3 -3
View File
@@ -13,11 +13,11 @@ jobs:
env:
SKIP: no-commit-to-branch
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: stable
- uses: actions/setup-python@v6
- uses: actions/setup-python@v7
with:
python-version: '3.14'
- name: Install goimports
+3 -3
View File
@@ -11,7 +11,7 @@ repos:
- --allow-multiple-documents
- id: check-added-large-files
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.24.0
rev: v9.26.0
hooks:
- id: commitlint
stages: [ commit-msg ]
@@ -30,10 +30,10 @@ repos:
- id: go-test
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v2.8.0
rev: v2.13.2
hooks:
- id: golangci-lint-full
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
rev: v8.30.1
hooks:
- id: gitleaks
+1 -1
View File
@@ -1,3 +1,3 @@
{
"version": "v0.2.1"
"version": "v0.2.3"
}
+35
View File
@@ -2,6 +2,41 @@
All notable changes to this project will be documented in this file.
## [0.2.3] - 2026-08-31
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.13.2 (#119)
## [0.2.2] - 2026-08-29
### 🐛 Bug Fixes
- *(ci)* Use go-test-coverage binary directly to fix Gitea Actions (#96)
- *(deps)* Update module github.com/stretchr/testify to v1.12.0 (#113)
- *(deps)* Update module github.com/stretchr/testify to v1.12.1 (#115)
### ⚙️ Miscellaneous Tasks
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.24.0 (#77)
- Add code coverage integration
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.9.0 (#81)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.10.1 (#82)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.1 (#85)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.2 (#87)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.3 (#89)
- *(deps)* Update pre-commit hook gitleaks/gitleaks to v8.30.1 (#91)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.11.4 (#93)
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.25.0 (#98)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.12.0 (#100)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.12.1 (#102)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.12.2 (#103)
- *(deps)* Update actions/checkout action to v7 (#105)
- *(deps)* Update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.26.0 (#107)
- *(deps)* Update actions/setup-go action to v7 (#109)
- *(deps)* Update actions/setup-python action to v7 (#111)
- *(deps)* Update pre-commit hook golangci/golangci-lint to v2.13.1 (#116)
## [0.2.1] - 2026-01-09
### ⚙️ Miscellaneous Tasks
+3 -7
View File
@@ -1,11 +1,7 @@
module gitea.unbound.se/unboundsoftware/pagination
go 1.24.4
go 1.26.2
require github.com/stretchr/testify v1.11.1
require github.com/stretchr/testify v1.12.1
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
require go.yaml.in/yaml/v3 v3.0.5 // indirect
+4 -10
View File
@@ -1,10 +1,4 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=