From f64e2ce04ff63d6f3d9869e940de8cf4b714fcbc Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Fri, 27 Dec 2024 06:32:50 +0100 Subject: [PATCH] ci: add build workflow --- .gitea/workflows/go.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/go.yaml diff --git a/.gitea/workflows/go.yaml b/.gitea/workflows/go.yaml new file mode 100644 index 0000000..d8612a5 --- /dev/null +++ b/.gitea/workflows/go.yaml @@ -0,0 +1,23 @@ +name: Go + +on: + push: + branches: [ "master" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23.4' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...