X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=907b3bf765342496bc573bd2685e445f4abb0bfd;hb=a262b90b6df2b3aff0fd23019390f83f16d7a75f;hp=439c56596d1ca19d2698fc532fec105eaa812721;hpb=9fa751f3d517dd071d9af47ae42988c6acd7334f;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 439c565..907b3bf 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -13,16 +13,23 @@ jobs: with: ghc-version: '8.6.5' cabal-version: '3.0' + - run: cabal update - 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