feat: cache nix packages in ci

This commit is contained in:
Eric
2026-03-04 09:44:37 +01:00
committed by eric
parent 00ac0b7add
commit 975b92115a

View File

@@ -35,5 +35,11 @@ jobs:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Restore and save Nix store cache
uses: nix-community/cache-nix-action@v7
with:
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
restore-prefixes-first-match: nix-${{ runner.os }}-
- name: Install flake dependencies
run: nix develop --accept-flake-config -c true