Skip to content

Commit 5e1a7ca

Browse files
committed
CI: also run hlint
1 parent 4c17b3d commit 5e1a7ca

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: lint
2+
on:
3+
pull_request:
4+
push:
5+
6+
jobs:
7+
hlint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v6
11+
12+
- name: 'Set up HLint'
13+
uses: haskell-actions/hlint-setup@v2
14+
with:
15+
version: '3.10'
16+
17+
- name: 'Run HLint'
18+
uses: haskell-actions/hlint-run@v2
19+
with:
20+
path: '["lib/", "test/", "exec/"]'
21+
fail-on: warning

0 commit comments

Comments
 (0)