From 8805c79a345bd5a67909b10c868c6159b99c43d4 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 9 May 2026 00:11:17 +0200 Subject: [PATCH] Add Gitea workflow for build and test --- .gitea/workflows/build-and-test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/build-and-test.yml diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml new file mode 100644 index 0000000..93f5d2e --- /dev/null +++ b/.gitea/workflows/build-and-test.yml @@ -0,0 +1,23 @@ +name: Build and Test +on: [push, pull_request] + +jobs: + build-and-test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.21' + + - name: Install dependencies + run: go mod download + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...