Skip to content

Tests

Tests #96

Workflow file for this run

name: Tests
on:
schedule:
- cron: "0 2 * * *"
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
zig: [0.11.0, master]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: AnnikaCodes/install-ziglint@main
# TODO: remove once install-ziglint is fixed to properly place binary on the path
- run: echo "${GITHUB_WORKSPACE}" >> $GITHUB_PATH
- uses: goto-bus-stop/setup-zig@v2
with:
version: ${{matrix.zig}}
- run: npm install
- run: npm run integration