ci(gitea): add validation and release workflows

This commit is contained in:
Micheal Wilkinson
2026-03-20 09:37:09 +00:00
parent 0dfacc31d4
commit a7e4c501e4
4 changed files with 183 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
name: Pull Request Merge Validation
on:
pull_request_target:
types:
- closed
jobs:
validate-merged-pr:
if: ${{ github.event.pull_request.merged == true }}
runs-on: ubuntu-latest
steps:
- name: Checkout merged commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha }}
- 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
run: ./script/run-behavior-suite-docker.sh