From b751259d49bfa840580db5943b015c4aaf212e5b Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Wed, 30 Apr 2025 20:31:00 +0200 Subject: [PATCH] ci: add basic ci (#1) Reviewed-on: https://gitea.t000-n.de/t.behrendt/tracebasedlogsampler/pulls/1 Co-authored-by: Timo Behrendt Co-committed-by: Timo Behrendt --- .gitea/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..2264aac --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -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