All paths for caching cabal included :)
This commit is contained in:
parent
74bc9a47fc
commit
118062d33c
@ -25,10 +25,11 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
~/.cache/cabal
|
||||
~/.ghc
|
||||
key: cabal-${{ runner.os }}-${{ hashFiles('tricu.cabal') }}
|
||||
~/.config/cabal
|
||||
~/.local/state/cabal
|
||||
key: cabal-${{ hashFiles('tricu.cabal') }}
|
||||
restore-keys: |
|
||||
cabal-${{ runner.os }}-
|
||||
cabal-
|
||||
|
||||
- name: Set up cache for Nix
|
||||
uses: actions/cache@v4
|
||||
@ -36,9 +37,9 @@ jobs:
|
||||
path: |
|
||||
/nix/store
|
||||
/nix/var/nix/cache
|
||||
key: nix-${{ runner.os }}-${{ hashFiles('flake.lock') }}
|
||||
key: nix-${{ hashFiles('flake.lock') }}
|
||||
restore-keys: |
|
||||
nix-${{ runner.os }}-
|
||||
nix-
|
||||
|
||||
- name: Initialize Cabal and update package list
|
||||
run: |
|
||||
@ -64,10 +65,11 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
~/.cache/cabal
|
||||
~/.ghc
|
||||
key: cabal-${{ runner.os }}-${{ hashFiles('tricu.cabal') }}
|
||||
~/.config/cabal
|
||||
~/.local/state/cabal
|
||||
key: cabal-${{ hashFiles('tricu.cabal') }}
|
||||
restore-keys: |
|
||||
cabal-${{ runner.os }}-
|
||||
cabal-
|
||||
|
||||
- name: Set up cache for Nix
|
||||
uses: actions/cache@v4
|
||||
@ -75,9 +77,9 @@ jobs:
|
||||
path: |
|
||||
/nix/store
|
||||
/nix/var/nix/cache
|
||||
key: nix-${{ runner.os }}-${{ hashFiles('flake.lock') }}
|
||||
key: nix-${{ hashFiles('flake.lock') }}
|
||||
restore-keys: |
|
||||
nix-${{ runner.os }}-
|
||||
nix-
|
||||
|
||||
- name: Build binary
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user