ci: add test and benchmark
All checks were successful
CI / test (push) Successful in 19s
CI / benchmark (push) Successful in 3m36s

This commit is contained in:
2025-04-29 18:39:09 +02:00
parent f5fbad64d3
commit 9dc7115fe2

24
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,24 @@
name: CI
on:
push:
branches-ignore:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make test
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make benchmark