Skip to content

v0.4.0.0

v0.4.0.0 #19

Workflow file for this run

name: CI
# Trigger the workflow on push or pull request, but only for the main branch
on:
pull_request:
push:
branches: [main]
jobs:
cabal:
name: ghc ${{ matrix.ghc }}
runs-on: ubuntu-latest
strategy:
matrix:
ghc:
- "latest"
- "9.4.4"
- "9.2.5"
- "9.0.2"
steps:
- name: Checkout commit
uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main'
- name: Set up GHC & cabal
uses: haskell/actions/setup@v1
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "latest"
- name: Build
run: cabal build
- name: Test
run: cabal test