Skip to content

Commit 7771e43

Browse files
committed
migrate to using hlint action
1 parent 669e4ac commit 7771e43

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/haskell.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,15 @@ 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: 'latest'
1921

2022
- name: Run hlint
21-
run: hlint .
23+
uses: haskell-actions/hlint-run@v2.4.10
24+
with:
25+
fail-on: warning
2226

2327
- name: Run fourmolu
2428
uses: haskell-actions/run-fourmolu@v11

0 commit comments

Comments
 (0)