Feat: add workflows
Go test / run-go-vet (push) Successful in 5s
Go test / run-go-test (push) Failing after 25s
Go test / cleanup-go-test (push) Has been cancelled

This commit is contained in:
ytshih committed 2025-12-09 00:06:05 +08:00
1 parent f191aef810
commit 450b27af3d
3 files changed
+47 -7

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
---
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
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run make docker-clean
run: make docker-clean