Update Cabal caching path
Some checks failed
Test and Build / build (push) Has been cancelled
Test and Build / test (push) Has been cancelled

This commit is contained in:
James Eversole 2025-01-21 16:28:35 -06:00
parent 42fce0ae43
commit 0768e11a02

View File

@ -24,7 +24,7 @@ jobs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
~/.cabal ~/.cache/cabal
~/.ghc ~/.ghc
key: cabal-${{ runner.os }}-${{ hashFiles('tricu.cabal') }} key: cabal-${{ runner.os }}-${{ hashFiles('tricu.cabal') }}
restore-keys: | restore-keys: |
@ -44,7 +44,7 @@ jobs:
run: | run: |
nix develop --command cabal update nix develop --command cabal update
- name: Install dependencies and run tests - name: Run test suite
run: | run: |
nix develop --command cabal test nix develop --command cabal test
@ -63,7 +63,7 @@ jobs:
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
~/.cabal ~/.cache/cabal
~/.ghc ~/.ghc
key: cabal-${{ runner.os }}-${{ hashFiles('tricu.cabal') }} key: cabal-${{ runner.os }}-${{ hashFiles('tricu.cabal') }}
restore-keys: | restore-keys: |