X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=907b3bf765342496bc573bd2685e445f4abb0bfd;hb=a262b90b6df2b3aff0fd23019390f83f16d7a75f;hp=5f14f1d6f78a5d23ea909a4839c3ffb89fd07ba6;hpb=0de9d38dfe3a9b0f9c029e9da72054261702e3f1;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 5f14f1d..907b3bf 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -17,13 +17,19 @@ jobs: - name: Install HIE run: | pushd $HOME - git clone https://github.com/haskell/haskell-ide-engine --recurse-submodules + git clone https://github.com/mpickering/haskell-ide-engine --recurse-submodules cd haskell-ide-engine + git checkout hie-bios cabal install hie cabal install hoogle + export PATH=$PATH:$HOME/.cabal/bin hoogle generate popd + - name: Install JS Language Server + run: npm install javascript-typescript-langserver - name: Build run: cabal build - - name: Run tests - run: cabal test + - name: Test + run: | + export PATH=$PATH:$HOME/.cabal/bin:$(npm bin) + cabal test