Use Determinate Systems' nix caching action
Some checks failed
Test, Build, and Release / test (push) Has been cancelled
Test, Build, and Release / build (push) Has been cancelled

This commit is contained in:
James Eversole 2025-01-23 17:40:13 -06:00
parent ba340ae56f
commit 185870458e

View File

@ -29,14 +29,7 @@ jobs:
cabal-
- name: Set up cache for Nix
uses: actions/cache@v4
with:
path: |
/nix/store
/nix/var/nix/cache
key: nix-${{ hashFiles('flake.lock') }}
restore-keys: |
nix-
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Initialize Cabal and update package list
run: |
@ -59,14 +52,7 @@ jobs:
fetch-depth: 0
- name: Set up cache for Nix
uses: actions/cache@v4
with:
path: |
/nix/store
/nix/var/nix/cache
key: nix-${{ hashFiles('flake.lock') }}
restore-keys: |
nix-
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Build and shrink binary
run: |