diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5f63850..90b2d35 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,7 +46,9 @@ jobs: name: Cache ~/.stack with: path: ~/.stack - key: ${{ runner.os }}-${{ matrix.ghc }}-stack + key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('*.cabal') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.ghc }}- - name: Build run: |