Skip to content

Commit bb30b66

Browse files
committed
ci: Update Nix installation and caching actions
1 parent b915cf4 commit bb30b66

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/default/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ runs:
88
using: composite
99
steps:
1010
- name: Install Nix
11-
uses: DeterminateSystems/nix-installer-action@v16
11+
uses: cachix/install-nix-action@v31
1212
- name: Cache dependencies
13-
uses: DeterminateSystems/magic-nix-cache-action@v9
13+
uses: nix-community/cache-nix-action@v6
14+
with:
15+
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/flake.nix', '**/flake.lock') }}
16+
restore-prefixes-first-match: nix-${{ runner.os }}-
1417
- name: Load dependencies
1518
shell: bash
1619
run: nix develop --install

0 commit comments

Comments
 (0)