Files
ut-agones/.gitea/workflows/ci.yaml
bp99 8954723510
Some checks failed
build-and-test / build (push) Failing after 1m58s
ci: add build action
2025-07-28 20:08:17 +02:00

23 lines
542 B
YAML

---
name: build-and-test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ^1.24
- name: Build binary
run: go build -v ./...
- name: Run tests
run: go test -json ./... > test-results.json
- name: Upload artefacts
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results.json