From: Luke Lau Date: Mon, 6 Jan 2020 19:56:36 +0000 (+0000) Subject: Try caching now that v1.1 is out X-Git-Url: http://git.lukelau.me/?p=lsp-test.git;a=commitdiff_plain;h=0e0f5c819ca9514567bfbb7897bc40f7c0a9a3b3 Try caching now that v1.1 is out --- diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 4b593b9..1e80a3c 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -33,13 +33,13 @@ jobs: ref: ${{ env.hieref }} path: haskell-ide-engine - # - name: Cache Cabal - # uses: actions/cache@v1 - # with: - # path: ~/.cabal - # key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('../**/*.cabal') }} - # restore-keys: | - # ${{ runner.OS }}-${{ matrix.ghc }}-cabal + - name: Cache Cabal + uses: actions/cache@v1.1.0 + with: + path: ~/.cabal + key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('*.cabal') }} + restore-keys: | + ${{ runner.OS }}-${{ matrix.ghc }}-cabal - name: Build HIE run: |