From d1080e6e15cf029ed6187d8ff1b95097c9a23292 Mon Sep 17 00:00:00 2001 From: Daniel Svitan Date: Sat, 31 May 2025 19:35:16 +0200 Subject: [PATCH] :green_heart: Adds CI build --- .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..6d08698 --- /dev/null +++ b/.gitea/workflows/go.yaml @@ -0,0 +1,23 @@ +name: Gitea Build Action +run-name: ${{ gitea.actor }} build +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go 1.24.x + uses: actions/setup-go@v5 + with: + go-version: "1.24.x" + - name: Display Go version + run: go version + - name: "[server] Install dependencies" + run: cd server && go get . + - name: "[server] Build" + run: cd server && go build -v ./... + - name: "[admin] Install dependencies" + run: cd admin && go get . + - name: "[admin] Build" + run: cd admin && go build -v ./...