Compare commits

...

2 Commits

Author SHA1 Message Date
Pascal Grange 4358bda857
Merge b8dd3ecee2 into 3624ceb22c 2024-10-08 15:39:18 -04:00
Pascal Grange b8dd3ecee2
Fix cabal store path for gh-action Ubuntu 2023-06-09 00:53:40 +02:00
1 changed files with 3 additions and 3 deletions

View File

@ -223,15 +223,15 @@ steps:
## Haskell - Cabal
We cache the elements of the Cabal store separately, as the entirety of `~/.cabal` can grow very large for projects with many dependencies.
We cache the elements of the Cabal store.
```yaml
- name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
uses: actions/cache@v4
with:
path: |
~/.cabal/packages
~/.cabal/store
~/.cache/cabal/packages
~/.local/state/cabal
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-