ci: add Gitea Actions workflow for Go unit tests
CI / test (pull_request) Failing after 3h10m14s

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
Gary
2026-06-05 15:27:53 +10:00
co-authored by multica-agent
parent c16b153a6e
commit 33ef99aca3
+27
View File
@@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
cache: true
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -race -coverprofile=coverage.out ./...
- name: Build
run: go build -v ./...