3 on: [push, pull_request]
7 runs-on: ${{ matrix.os }}
10 hieref: caf72237f596255eef3e614330db353c15b6c46b
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 }}
42 uses: actions/cache@v1.1.0
45 key: ${{ runner.OS }}-${{ matrix.ghc }}-hoogle-${{ env.hieref }}
51 pushd ../haskell-ide-engine
55 - name: Generate hoogle database
57 if [ -d $HOME/.hoogle ]; then
58 echo "hoogle database already built"
62 - name: Install JS Language Server
63 run: npm install javascript-typescript-langserver
68 export PATH=$PATH:$(npm bin)