Add HLint to CI #5
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: Linting | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
style: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone project | |
uses: actions/checkout@v4 | |
- name: Apply yamllint | |
uses: ibiqlik/action-yamllint@v3 | |
with: | |
format: github | |
- name: Set up HLint | |
uses: haskell-actions/hlint-setup@v2 | |
with: | |
version: "3.6.1" | |
- name: Apply HLint | |
run: | | |
set -ex | |
hlint app/test-pretty-exceptions | |
hlint int/ | |
hlint src/ | |
hlint test/ |