nicer regression test output #258
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
# Inspired by https://tech.freckle.com/2021/05/18/haskell-on-actions/ | |
name: Check Code Quality 👌 | |
on: | |
push: | |
branches: | |
- "**" # Only trigger on branches (i.e. not tags, ..) | |
paths-ignore: | |
- "docs/**" # If only documentation changes, no need to build. | |
jobs: | |
hlint: | |
name: Hlint - Check for code sanity | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project contents 📡 | |
uses: actions/checkout@v3.1.0 | |
- name: Setup hlint | |
uses: rwe/actions-hlint-setup@v1.0.3 | |
- name: Run hlint | |
uses: rwe/actions-hlint-run@v2.0.1 | |
weeder: | |
name: Weeder - Check dead code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project contents 📡 | |
uses: actions/checkout@v3.1.0 | |
- name: Use cache when available 📦 | |
uses: freckle/stack-cache-action@main | |
- name: Build the project 🌿🌿🌿 | |
uses: freckle/stack-action@v3.2.2 | |
with: | |
test: false | |
# Weeder needs compilation artifacts, so it must still be the same Job | |
- uses: freckle/weeder-action@v1.0.2 |