nix-dotfiles/.github/workflows/flake-health-checks.yml
ahuston-0 91cd0d51c1 merge queue shenanigans
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-04-17 10:26:04 +00:00

21 lines
467 B
YAML

name: "Check Nix flake"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
merge_group:
jobs:
health-check:
name: "Perform Nix flake checks"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4
- run: nix flake check