Compare commits

...

2 Commits

Author SHA1 Message Date
Pascal Grange
041fb61892
Merge b8dd3ecee281408ca776c1e1af7239e656309325 into 36f1e144e1c8edb0a652766b484448563d8baf46 2025-02-03 16:37:38 +00:00
Pascal Grange
b8dd3ecee2
Fix cabal store path for gh-action Ubuntu 2023-06-09 00:53:40 +02:00

View File

@ -244,15 +244,15 @@ steps:
## Haskell - Cabal ## 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 ```yaml
- name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle - name: Cache ~/.cabal/packages, ~/.cabal/store and dist-newstyle
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: | path: |
~/.cabal/packages ~/.cache/cabal/packages
~/.cabal/store ~/.local/state/cabal
dist-newstyle dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }} key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/*.cabal', '**/cabal.project', '**/cabal.project.freeze') }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}- restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-