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 ./...