Population still yealds violations #475
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/[email protected] | |
- name: Setup hlint | |
uses: rwe/[email protected] | |
- name: Run hlint | |
uses: rwe/[email protected] | |
weeder: | |
name: Weeder - Check dead code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project contents 📡 | |
uses: actions/[email protected] | |
- name: Build the project 🌿🌿🌿 | |
uses: freckle/stack-action@v5 | |
with: | |
test: false | |
upgrade-stack: false | |
cache-save-always: true | |
# Weeder needs compilation artifacts, so it must still be the same Job | |
- uses: freckle/[email protected] |