diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index bf73ca311..2809004d2 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -22,8 +22,14 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main - - uses: DeterminateSystems/flake-checker-action@main - - name: Run `nix build` + - name: Install nix + uses: DeterminateSystems/nix-installer-action@main + - name: Cache build artifacts + uses: DeterminateSystems/magic-nix-cache-action@main + - name: Check flake inputs + uses: DeterminateSystems/flake-checker-action@main + with: + flake-lock-path: ./nix/flake.lock + ignore-missing-flake-lock: false + - name: Build default package run: nix build nix