Add usage command to CLI #5
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: Run Zig Tests | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'src/**' | |
- 'build.zig' | |
- 'build.zig.zon' | |
env: | |
ZIG_VERSION: 0.11.0 | |
jobs: | |
test: | |
name: Tests on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: ${{ env.ZIG_VERSION }} | |
- uses: Hanaasagi/zig-action-cache@master | |
- name: Build | |
run: zig build | |
- name: Run Tests | |
run: zig build test |