Skip to content

Move hlint run into a separate CI workflow. #2

Move hlint run into a separate CI workflow.

Move hlint run into a separate CI workflow. #2

Workflow file for this run

# .github/workflows/hlint.yml
name: HLint
on:
- push
- pull_request
jobs:
hlint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: 'Set up HLint'
uses: haskell-actions/hlint-setup@v2
with:
version: '3.8'
- name: 'Run HLint (src)'
uses: haskell-actions/hlint-run@v2
with:
path: src/
fail-on: suggestion
- name: 'Run HLint (test)'
uses: haskell-actions/hlint-run@v2
with:
path: test/
fail-on: suggestion