Turn back on tests
[lsp-test.git] / .github / workflows / haskell.yml
index 76e1cbc6697ae9f87f562ed456bfde6e83cd9d82..5dbd8975e81a668536a142b4e6eb5c8fdc2bb028 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,13 @@ 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) 
+        echo $PATH
+        export PATH=$PATH:$(npm bin) 
         cabal run lsp-test:test:tests