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