From: Luke Lau Date: Wed, 13 Nov 2019 15:33:41 +0000 (+0000) Subject: Add restore keys X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=d46bb3d;hp=d88f852bc000c0d743f50c9328bf7f94c68a917a Add restore keys --- diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 41b82aa..7d90328 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -34,7 +34,9 @@ jobs: uses: actions/cache@v1 with: path: ~/.cabal - key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal + key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('../**/*.cabal') }} + restore-keys: | + ${{ runner.OS }}-${{ matrix.ghc }}-cabal - name: Build HIE run: |