Skip to content

Fail on any exit code if configured to fail #121

Fail on any exit code if configured to fail

Fail on any exit code if configured to fail #121

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
working-directory:
- example
- example-9.6
steps:
- uses: actions/checkout@v4
- id: stack
uses: freckle/stack-action@v5
with:
working-directory: ${{ matrix.working-directory }}
- id: weeder
uses: ./
with:
ghc-version: ${{ steps.stack.outputs.compiler-version }}
working-directory: ${{ matrix.working-directory }}
fail: false
- run: |
# Expected to find this unused function
grep -F goodbyeWorld "${{ steps.weeder.outputs.log }}"