Skip to content

Commit da20324

Browse files
committed
CI: hlint: update to action
This is what `fmt.sh` runs.
1 parent 532dce7 commit da20324

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/hlint.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Checking with HLint"
1+
name: "HLint check"
22

33
on:
44
pull_request:
@@ -7,11 +7,17 @@ on:
77

88
jobs:
99
build10:
10-
name: "HLint check"
10+
name: "Run"
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
1414

15-
- name: "HLint via ./fmt.sh"
16-
run: |
17-
./fmt.sh
15+
- name: 'Installing'
16+
uses: rwe/actions-hlint-setup@v1
17+
with:
18+
version: '3.3.5'
19+
20+
- name: 'Checking code'
21+
uses: rwe/actions-hlint-run@v1
22+
with:
23+
path: '[ "--with-group=extra", "--hint=ghcide/.hlint.yaml", "ghcide/src", "ghcide/exe", "ghcide/bench/lib", "ghcide/bench/exe", "ghcide/bench/hist", "shake-bench/src", "ghcide/test/exe" ]'

0 commit comments

Comments
 (0)