name: "CI"
on:
pull_request:
push:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v12
with:
name: w4
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: cachix watch-exec w4 -- nix build .#