Files
backend/.gitea/workflows/test.yml
Yi-Ting Shih 4ced79b6c6
Some checks failed
Go test / run-go-vet (push) Successful in 5s
Go test / run-go-test (push) Failing after 23s
Go test / cleanup-go-test (push) Successful in 15s
Feat: add workflows
2025-12-09 00:16:08 +08:00

30 lines
619 B
YAML

---
name: Go test
on: [push]
jobs:
run-go-vet:
runs-on: imgbuilder
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run go vet
run: go vet
run-go-test:
needs: run-go-vet
runs-on: imgbuilder
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run go test
run: make test-ci
cleanup-go-test:
needs: run-go-test
runs-on: imgbuilder
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run make docker-clean
run: make docker-clean