X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=439c56596d1ca19d2698fc532fec105eaa812721;hb=9fa751f3d517dd071d9af47ae42988c6acd7334f;hp=87c9763e2b165e62fb82fb2daa61e8955e67ca12;hpb=2d99d48db3865ad7f5916fea82ad4ce8b6a695f4;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 87c9763..439c565 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -9,17 +9,20 @@ jobs: steps: - uses: actions/checkout@v1 + - uses: actions/setup-haskell@v1 + with: + ghc-version: '8.6.5' + cabal-version: '3.0' - name: Install HIE run: | - apt upgrade ghc cabal-install pushd $HOME git clone https://github.com/haskell/haskell-ide-engine --recurse-submodules cd haskell-ide-engine - cabal v2-install hie - cabal v2-install hoogle + cabal install hie + cabal install hoogle hoogle generate popd - name: Build - run: cabal v2-build + run: cabal build - name: Run tests - run: cabal v2-test + run: cabal test