Hash based on hieref
[lsp-test.git] / .github / workflows / haskell.yml
index 4b593b99fed343051aef93699b8bf988daa21319..86507b4ff5fd52104bd134c9f0f900be9ba43680 100644 (file)
@@ -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-${{ env.hieref }}
+        restore-keys: |
+          ${{ runner.OS }}-${{ matrix.ghc }}-cabal
 
     - name: Build HIE
       run: |