Add withProcess #86
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |