ci(gitea): add validation and release workflows
This commit is contained in:
26
.gitea/workflows/pr-validation.yml
Normal file
26
.gitea/workflows/pr-validation.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Pull Request Validation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
|
||||
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
|
||||
run: ./script/run-behavior-suite-docker.sh
|
||||
Reference in New Issue
Block a user