Merge pull request #136 from commercialhaskell/ci #57
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.8" | |
- name: Apply HLint | |
run: | | |
set -ex | |
hlint app/test-pretty-exceptions | |
hlint int/ | |
hlint src/ | |
hlint test/ |