Skip to content

add doWhile combinator and runtime error for bodies with top-level ex… #11

add doWhile combinator and runtime error for bodies with top-level ex…

add doWhile combinator and runtime error for bodies with top-level ex… #11

Workflow file for this run

name: Haskell CI (fast)
on:
push:
branches: ['**']
paths:
- "**.hs"
- "stack.yml"
- "package.yml"
permissions:
contents: read
jobs:
build:
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache Stack
id: cache-stack-unix
uses: actions/cache@v3
with:
path: ~/.stack
key: ubuntu-latest-stack-home-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}
- name: Setup stack
uses: haskell/actions/setup@v2
with:
enable-stack: true
stack-no-global: true
- name: Install dependencies
run: |
set -ex
stack --no-terminal --install-ghc test --bench --only-dependencies
set +ex
- name: Build
run: |
set -ex
stack --no-terminal $ARGS test --test-arguments="--cheap"
set +ex