refactor(build): Clean up #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Setup zig master build | |
uses: goto-bus-stop/[email protected] | |
with: | |
version: master | |
- name: Run a build test | |
run: zig build test | |
- name: Run test by passing test file | |
run: zig test src/test.zig | |
- name: Build examples | |
run: zig build examples |