fix(tests): fix flaky time-based tests (#699)

* fix(tests): fix flaky time-based tests

* test: replace time package with a mock
Using a dedicated dependency would have been awesome, but i try to keep this repo with minimal dependencies
This commit is contained in:
Samuel Berthe
2025-10-05 00:34:07 +02:00
committed by GitHub
parent dedd62f639
commit 380e1a0ae2
15 changed files with 353 additions and 238 deletions
+2
View File
@@ -10,6 +10,7 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- "1.18"
@@ -19,6 +20,7 @@ jobs:
- "1.22"
- "1.23"
- "1.24"
- "1.25"
- "1.x"
steps:
- uses: actions/checkout@v5