-
Notifications
You must be signed in to change notification settings - Fork 274
43 lines (36 loc) · 945 Bytes
/
hlint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: HLint
on:
- push
- pull_request
jobs:
hlint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: 'Set up HLint'
uses: haskell-actions/hlint-setup@v2
with:
version: '3.8'
- name: 'Run HLint (lens)'
uses: haskell-actions/hlint-run@v2
with:
path: src/
fail-on: suggestion
# https://github.com/haskell-actions/hlint-run/issues/12
- name: 'HLint config (lens-properties)'
run: |
cp lens-properties/.hlint.yaml .
- name: 'Run HLint (lens-properties)'
uses: haskell-actions/hlint-run@v2
with:
path: lens-properties/src/
fail-on: suggestion
- name: 'HLint config (examples)'
run: |
cp examples/.hlint.yaml .
- name: 'Run HLint (examples)'
uses: haskell-actions/hlint-run@v2
with:
path: examples/
fail-on: suggestion