Skip to content

Commit a531954

Browse files
Merge pull request #428 from Hasnep/replace-magic-nix-cache-action
Replace magic-nix-cache-action
2 parents 30e7fa7 + 5d48a15 commit a531954

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/workflow.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ jobs:
4949
runs-on: ${{ matrix.os }}
5050
steps:
5151
- uses: actions/checkout@v4
52-
- uses: DeterminateSystems/nix-installer-action@main
53-
- uses: DeterminateSystems/magic-nix-cache-action@main
52+
- uses: nixbuild/nix-quick-install-action@master
53+
- uses: nix-community/cache-nix-action@main
54+
with:
55+
primary-key: nix-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/*.nix', '**/flake.lock') }}
56+
restore-prefixes-first-match: nix-${{ runner.os }}-${{ runner.arch }}
5457
- name: Install Stack
5558
run: |
5659
nix-env --file ./nixpkgs.nix --install --attr stack

0 commit comments

Comments
 (0)