commit 118062d33ce9da676ea651272b8556b80316986d
parent 74bc9a47fc86b4312247c2bc62b68ee84f55be5b
Author: James Eversole <james@eversole.co>
Date: Tue, 21 Jan 2025 16:58:04 -0600
All paths for caching cabal included :)
Diffstat:
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/.gitea/workflows/test-and-build.yml b/.gitea/workflows/test-and-build.yml
@@ -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: |