libvaxis/.github/workflows/test.yml

28 lines
540 B
YAML
Raw Normal View History

2024-06-05 16:41:41 +02:00
name: test
on:
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
2024-06-13 15:19:15 +02:00
- uses: mlugg/setup-zig@v1
2024-06-05 16:41:41 +02:00
with:
2024-06-09 13:48:25 +02:00
version: 0.13.0
2024-06-05 16:41:41 +02:00
- run: zig build test
check-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2024-06-13 15:19:15 +02:00
- uses: mlugg/setup-zig@v1
2024-06-05 16:41:41 +02:00
with:
2024-06-09 13:48:25 +02:00
version: 0.13.0
2024-06-05 16:41:41 +02:00
- run: zig fmt --check .