3 on: [push, pull_request]
7 runs-on: ${{ matrix.os }}
10 hieref: 970637fa13ef29ccc3c0a977248fcea83bdd11d7
14 ghc: ['8.8.1', '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 }}
28 uses: actions/checkout@v1
30 repository: haskell/haskell-ide-engine
32 ref: ${{ env.hieref }}
33 path: haskell-ide-engine
36 uses: actions/cache@v1.1.0
39 key: ${{ runner.OS }}-${{ matrix.ghc }}-cabal-${{ env.hieref }}
41 ${{ runner.OS }}-${{ matrix.ghc }}-cabal
44 uses: actions/cache@v1.1.0
47 key: ${{ runner.OS }}-${{ matrix.ghc }}-hoogle-${{ env.hieref }}
53 pushd ../haskell-ide-engine
57 - name: Generate hoogle database
59 if [ -d $HOME/.hoogle ]; then
60 echo "hoogle database already built"
64 - name: Install JS Language Server
65 run: npm install javascript-typescript-langserver
70 export PATH=$PATH:$(npm bin)