Skip to content

ci(mergify): upgrade configuration to current format (#24) #101

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

ci(mergify): upgrade configuration to current format (#24) #101

Workflow file for this run

on:
push:
branches:
- main
pull_request: {}
workflow_dispatch : {}
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
ghc:
- "9.2.8"
- "9.4.8"
- "9.6.6"
- "9.8.2"
- "9.10.1"
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.12.1.0"
- name: Build
run: |
cabal update
cabal build all --enable-tests
- name: Run Tests
run: cabal test --test-show-details=always all
post_job:
runs-on: ubuntu-latest
needs: [test]
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