refactor: update flag value types and defaults in CLI commands #11
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Setup Zig | |
| uses: jassielof/setup-zig@v1 | |
| - name: Formatting | |
| run: zig fmt --check build.zig build.zig.zon src | |
| - name: Build | |
| run: zig build --summary all | |
| - name: Tests | |
| run: zig build tests --summary all | |
| # - name: Build docs | |
| # run: zig build --summary all docs | |
| # - name: Upload artifact | |
| # uses: actions/upload-pages-artifact@v4 | |
| # with: | |
| # path: zig-out/docs | |
| # pages: | |
| # environment: | |
| # name: github-pages | |
| # url: ${{ steps.deployment.outputs.page_url }} | |
| # runs-on: ubuntu-latest | |
| # needs: build | |
| # steps: | |
| # - name: Deploy to GitHub Pages | |
| # id: deployment | |
| # uses: actions/deploy-pages@v4 |