X-Git-Url: http://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=e3409a3cd193f5f9d2f670b86b81641c1a1728ca;hb=60b309d19338bc584dae5388b2fa7486779fdaa6;hp=249d55a80fb29b1d2ad2c08870bcf915af17d16b;hpb=4ecafadfae6e2f85bd92fd26ef5a79171a8114c9;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 249d55a..e3409a3 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -7,7 +7,7 @@ jobs: runs-on: ${{ matrix.os }} env: - hieref: 52691a63087ceb585c8bdc2ea04b52df3b2eddf1 + hieref: cd0d1eb88334c359b8a220f2aebec703d66012ff strategy: matrix: @@ -30,11 +30,13 @@ jobs: ref: ${{ env.hieref }} path: haskell-ide-engine - - name: Cache HIE - uses: actions/cache@v1 - with: - path: ../haskell-ide-engine/dist-newstyle - key: ${{ runner.OS }}-${{ matrix.ghc }}-${{ env.hieref }} + # - name: Cache Cabal + # uses: actions/cache@v1 + # with: + # path: ~/.cabal + # key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('../**/*.cabal') }} + # restore-keys: | + # ${{ runner.OS }}-${{ matrix.ghc }}-cabal - name: Build HIE run: | @@ -47,13 +49,13 @@ jobs: cabal install hoogle hoogle generate popd - cabal v1-install Cabal --constraint "Cabal == 3.0.0.0" + # 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: | - # echo $PATH - # export PATH=$PATH:$(npm bin) - # cabal run lsp-test:test:tests + - name: Test + run: | + echo $PATH + export PATH=$PATH:$(npm bin) + cabal run lsp-test:test:tests