CI: Add hlint workflow

Closes: https://github.com/xmonad/xmonad-contrib/issues/669
This commit is contained in:
Tony Zorman 2022-10-19 19:59:12 +02:00
parent 05c4c776af
commit dd26fcc3f1

22
.github/workflows/hlint.yaml vendored Normal file
View File

@ -0,0 +1,22 @@
name: hlint
on:
push:
pull_request:
jobs:
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Set up HLint'
uses: haskell/actions/hlint-setup@v2
with:
version: '3.4.1'
- name: 'Run HLint'
uses: haskell/actions/hlint-run@v2
with:
path: '["XMonad/", "tests/", "scripts/"]'
fail-on: status