X-Git-Url: https://git.lukelau.me/?a=blobdiff_plain;f=.github%2Fworkflows%2Fhaskell.yml;h=7d90328b36500cabc19b5f5cbdec766f49534bde;hb=d46bb3df79fd71344d0c8d7c6de5b67c99f65906;hp=87a1ca10875eeb3df841de5abcb996bc10e4c3bd;hpb=ff565d6a883324c593d394ca43483ed5304ff7bb;p=lsp-test.git diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 87a1ca1..7d90328 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -30,11 +30,13 @@ jobs: ref: ${{ env.hieref }} path: haskell-ide-engine - - name: Cache HIE + - name: Cache Cabal uses: actions/cache@v1 with: - path: ../haskell-ide-engine/dist-newstyle - key: ${{ runner.OS }}-${{ matrix.ghc }}-${{ env.hieref }} + path: ~/.cabal + key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('../**/*.cabal') }} + restore-keys: | + ${{ runner.OS }}-${{ matrix.ghc }}-cabal - name: Build HIE run: | @@ -52,8 +54,8 @@ jobs: 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