3 on: [push, pull_request]
7 runs-on: ${{ matrix.os }}
10 hieref: 8582a960dc1ca389734707f821b273b00bae54ab
14 ghc: ['8.6.5', '8.4.4']
15 os: [ubuntu-latest, macOS-latest]
18 ghc: '8.4.4' # fails due to ghc panic
21 - uses: actions/checkout@v1
22 - uses: bubba/setup-haskell@macos-ghcup
24 ghc-version: ${{ matrix.ghc }}
29 uses: actions/checkout@v1
31 repository: haskell/haskell-ide-engine
33 ref: ${{ env.hieref }}
34 path: haskell-ide-engine
37 # uses: actions/cache@v1
40 # key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ hashFiles('../**/*.cabal') }}
42 # ${{ runner.OS }}-${{ matrix.ghc }}-cabal
46 # if [ -e $HOME/.cabal/bin/hie ]; then
47 # echo "hie is already built"
50 pushd ../haskell-ide-engine
55 - name: Install JS Language Server
56 run: npm install javascript-typescript-langserver
63 export PATH=$PATH:$(npm bin)