Skip to content

lsp-types-1.6.0.1: update Haskell CI to latest GHCs; just for ubuntu #541

lsp-types-1.6.0.1: update Haskell CI to latest GHCs; just for ubuntu

lsp-types-1.6.0.1: update Haskell CI to latest GHCs; just for ubuntu #541

Workflow file for this run

name: Nix
on: [push, pull_request]
jobs:
nix:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-shell --run "cabal update && cabal build all"
nix_post_job:
runs-on: ubuntu-latest
needs: [ nix ]
steps:
- run: |
echo "jobs info: ${{ toJSON(needs) }}"
- if: contains(needs.*.result, 'failure')
run: exit 1
- if: contains(needs.*.result, 'cancelled') && needs.pre_job.outputs.should_skip != 'true'
run: exit 1