Skip to content

Add withProcess

Add withProcess #86

---
name: Haddock API coverage
on:
- push
- pull_request
jobs:
haddock-api-coverage:
name: Check Haddock API coverage
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/[email protected]
- name: Cache Cabal files
uses: actions/[email protected]
with:
path: |
~/.cabal/packages
~/.cabal/store
key: ${{ runner.os }}-cabal
- name: Update Cabal cache
run: |
cabal update
- name: Build Haddocks
run: |
cabal haddock troupe | tee haddock.out
- name: Check coverage
run: |
awk -f .github/workflows/haddock-coverage.awk haddock.out