ghcide/.github/workflows/nix.yml
Javier Neira 27b4250bb2
Extend CI with all GHC minor versions supported by hls and fix ghc-8.8.3 and ghc-8.8.2 builds (#947)
* Extend CI matrix with all the GHC minor versions supported by HLS
  * Adding a new job for windows: ghc-8.10.2.2

* Use GADTs for all ghc versions in Development.IDE.Plugin.Completions.Logic 
  * Fix ghc-8.8.2 and ghc-8.8.3 builds

Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
2020-12-11 12:23:16 +01:00

24 lines
600 B
YAML

name: Nix
on: [pull_request]
jobs:
nix:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ghc: ['default', 'ghc8102', 'ghc884', 'ghc865']
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.03
- uses: cachix/cachix-action@v7
with:
name: haskell-ghcide
signingKey: '${{ secrets.GHCIDE_CACHIX_SIGNING_KEY }}'
- run: nix-shell --argstr compiler ${{ matrix.ghc }} --run "cabal update && cabal build"