Add const
qualifier in Command.addArgs
and Command.addSubcommands
.
#125
Workflow file for this run
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@v3 | |
- 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 |