How should we set up this action to cache stack, like cabal with caching. Here's the caching for liquid-fixpoint:
- name: Cache ~/.stack and .stack-work
uses: actions/cache@v3
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-${{ matrix.ghc }}-stack-${{ hashFiles('**/*.cabal', './stack.yaml', './stack.yaml.lock') }}
How should we set up this action to cache stack, like cabal with caching. Here's the caching for liquid-fixpoint: