ci(gitea): unify push and merged-pr validation

This commit is contained in:
Micheal Wilkinson
2026-03-20 09:50:00 +00:00
parent aa66695665
commit 0034a6f4e2
3 changed files with 7 additions and 30 deletions

View File

@@ -0,0 +1,27 @@
name: Push Validation
on:
push:
branches:
- "**"
tags-ignore:
- "*"
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run full unit test suite
run: go test ./...
- name: Run behavior suite on main pushes
if: ${{ github.ref == 'refs/heads/main' }}
run: ./script/run-behavior-suite-docker.sh