Skip to content

Commit

Permalink
CI: Add hlint action
Browse files Browse the repository at this point in the history
Now that hlint runs through cleanly, there is no reason not to.

Related: xmonad/xmonad-contrib@dd26fcc
  • Loading branch information
slotThe committed Jan 8, 2023
1 parent ddf75d2 commit 3413f1b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/hlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Source: https://github.com/xmonad/xmonad-contrib/blob/e2ffa533da76e6375179eff942bb0647dd22fb58/.github/workflows/hlint.yaml
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.5'

- name: 'Run HLint'
uses: haskell/actions/hlint-run@v2
with:
path: '["src/", "test/", "app/"]'
fail-on: status

0 comments on commit 3413f1b

Please sign in to comment.