ok/jj
1
0
Fork 0
forked from mirrors/jj
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@d632683dd7b4114ad314bca15554477dd762a938
2022-02-20 20:48:51 +00:00
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@da36cb69b1c3247ad7a1f931ebfd954a1105ef14
- uses: DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b
- run: nix flake check -L --show-trace