Skip to content

Commit 0c900cf

Browse files
committed
migrate to using hlint action
1 parent eb1c8f9 commit 0c900cf

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/haskell.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v3
1616

17-
- name: Install hlint
18-
run: sudo apt install -y hlint
17+
- name: 'Set up HLint'
18+
uses: haskell-actions/hlint-setup@v2
19+
with:
20+
version: '3.1.6'
1921

2022
- name: Run hlint
21-
run: hlint .
23+
uses: haskell-actions/hlint-run@v2.4.10
24+
with:
25+
fail-on: warning
26+
arguments: --hint=.hlint.yaml
2227

2328
- name: Run fourmolu
2429
uses: haskell-actions/run-fourmolu@v11

0 commit comments

Comments
 (0)