jj/.github/workflows/build-nix.yml

28 lines
691 B
YAML
Raw Normal View History

name: nix
2022-02-20 20:48:51 +00:00
on:
push:
branches:
- main
2022-02-20 20:48:51 +00:00
pull_request:
permissions: read-all
2022-02-20 20:48:51 +00:00
jobs:
nix:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14]
runs-on: ${{ matrix.os }}
timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit
name: flake check
2022-02-20 20:48:51 +00:00
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
2022-02-20 20:48:51 +00:00
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@de22e16c4711fca50c816cc9081563429d1cf563
- uses: DeterminateSystems/magic-nix-cache-action@fc6aaceb40b9845a02b91e059ec147e78d1b4e41
- run: nix flake check -L --show-trace