feat: cache nix packages in ci
Some checks failed
Copilot Setup Steps / copilot-setup-steps (push) Failing after 1m20s

This commit is contained in:
eric
2026-03-04 09:44:37 +01:00
parent 3086c3ffde
commit 129d4598f6

View File

@@ -35,5 +35,11 @@ jobs:
extra_nix_config: | extra_nix_config: |
experimental-features = nix-command flakes 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 - name: Install flake dependencies
run: nix develop --accept-flake-config -c true run: nix develop --accept-flake-config -c true