X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=7d90328b36500cabc19b5f5cbdec766f49534bde;hb=d46bb3d;hp=249d55a80fb29b1d2ad2c08870bcf915af17d16b;hpb=4ecafadfae6e2f85bd92fd26ef5a79171a8114c9;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 249d55a..7d90328 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -30,11 +30,13 @@ jobs: ref: ${{ env.hieref }} path: haskell-ide-engine - - name: Cache HIE + - name: Cache Cabal uses: actions/cache@v1 with: - path: ../haskell-ide-engine/dist-newstyle - key: ${{ runner.OS }}-${{ matrix.ghc }}-${{ env.hieref }} + path: ~/.cabal + key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('../**/*.cabal') }} + restore-keys: | + ${{ runner.OS }}-${{ matrix.ghc }}-cabal - name: Build HIE run: |