Skip to content

ci(mergify): upgrade configuration to current format #705

ci(mergify): upgrade configuration to current format

ci(mergify): upgrade configuration to current format #705

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
- 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