fix: restore Zig 0.16-dev APIs and use latest from pantry #12
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] | |
| jobs: | |
| test: | |
| name: Test (${{ matrix.os }}, Zig ${{ matrix.zig-version }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| zig-version: ['latest'] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: home-lang/pantry-setup@v1 | |
| with: | |
| packages: ziglang.org@${{ matrix.zig-version }} | |
| - run: zig build | |
| - run: zig build test | |
| lint: | |
| name: Format Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: home-lang/pantry-setup@v1 | |
| with: | |
| packages: ziglang.org@latest | |
| - run: zig fmt --check . |