Fix cache path
[lsp-test.git] / .github / workflows / haskell.yml
index b241a5ee86a63ca9888584a3c4131559e9a9051f..6e70bcb6a0266e9562c4606bfe76c310addb3e26 100644 (file)
@@ -33,7 +33,7 @@ jobs:
     - name: Cache HIE
       uses: actions/cache@v1
       with:
-        path: haskell-ide-engine/dist-newstyle
+        path: ../haskell-ide-engine/dist-newstyle
         key: ${{ runner.OS }}-${{ matrix.ghc }}-${{ env.hieref }}
 
     - name: Build HIE
@@ -47,11 +47,12 @@ jobs:
         cabal install hoogle
         hoogle generate
         popd
+        cabal v1-install Cabal --constraint "Cabal == 3.0.0.0"
     - name: Install JS Language Server
       run: npm install javascript-typescript-langserver
     - name: Build
       run: cabal build
-    - name: Test
-      run: |
-        export PATH=$PATH:$HOME/.cabal/bin:$(npm bin) 
-        # cabal test
+    - name: Test
+      run: |
+        export PATH=$PATH:$HOME/.cabal/bin:$(npm bin) 
+    #     cabal run lsp-test:test:tests