28 lines
529 B
YAML
28 lines
529 B
YAML
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
|