Skip to content

fix: restore Zig 0.16-dev APIs and use latest from pantry #12

fix: restore Zig 0.16-dev APIs and use latest from pantry

fix: restore Zig 0.16-dev APIs and use latest from pantry #12

Workflow file for this run

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 .