3 files changed,
13 insertions(+),
10 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-08-13 17:44:10 +0300
Authored at:
2026-08-13 17:43:49 +0300
Change ID:
yopurtyvuxvmpuuzkrzyunmlkxlxwprz
Parent:
2ca3278
M
.github/workflows/benchmarks.yml
··· 18 18 runs-on: ubuntu-latest 19 19 timeout-minutes: 30 20 20 steps: 21 - - uses: actions/checkout@v4 22 - - uses: actions/setup-go@v5 21 + - uses: actions/checkout@v5 22 + - uses: actions/setup-go@v6 23 23 with: 24 24 go-version-file: go.mod 25 25 ··· 30 30 31 31 - name: Run benchmarks 32 32 run: go test -bench . -benchmem -run '^$' -count=10 -benchtime=200x ./... > bench.txt 2>&1 33 + 34 + - name: Print benchmark numbers 35 + run: benchstat bench.txt 33 36 34 37 - name: Restore baseline 35 38 id: baseline 36 - uses: actions/cache/restore@v4 39 + uses: actions/cache/restore@v5 37 40 with: 38 41 path: bench-baseline.txt 39 42 key: bench-${{ runner.os }}-${{ github.sha }} ··· 50 53 python3 .github/scripts/check-bench-regression.py 51 54 52 55 - name: Save baseline 53 - if: github.ref == 'refs/heads/main' 54 - uses: actions/cache/save@v4 56 + if: github.ref == 'refs/heads/master' 57 + uses: actions/cache/save@v5 55 58 with: 56 59 path: bench.txt 57 60 key: bench-${{ runner.os }}-${{ github.sha }}
M
.github/workflows/ci.yml
··· 9 9 runs-on: ubuntu-latest 10 10 timeout-minutes: 10 11 11 steps: 12 - - uses: actions/checkout@v4 13 - - uses: actions/setup-go@v5 12 + - uses: actions/checkout@v5 13 + - uses: actions/setup-go@v6 14 14 with: 15 15 go-version-file: go.mod 16 16 ··· 26 26 - name: Generate HTML coverage report 27 27 run: go tool cover -html=coverage.out -o coverage.html 28 28 29 - - uses: actions/upload-artifact@v4 29 + - uses: actions/upload-artifact@v6 30 30 with: 31 31 name: coverage-report 32 32 path: |