All paths for caching cabal included :)
All checks were successful
Test and Build / test (push) Successful in 4m36s
Test and Build / build (push) Successful in 1m41s

This commit is contained in:
James Eversole 2025-01-21 16:58:04 -06:00
parent 4b98afd803
commit 419d66b4d1

View File

@ -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: |