Skip to content

prepare lsp-types 2.0.1.1 #462

prepare lsp-types 2.0.1.1

prepare lsp-types 2.0.1.1 #462

Workflow file for this run

name: Nix
on:
push:
branches:
- master
pull_request:
jobs:
nix:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: cachix/install-nix-action@v22
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