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