Skip to content

Commit 3a6de84

Browse files
authored
Use fixed path and fix path for HLint configuration.
The paths are passed as is to HLint, which does not use them as file patterns. I.e., HLint uses a path to a specific directory or file, not a file pattern.
1 parent 0a636b6 commit 3a6de84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/hlint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: HLint
33
on:
44
push:
55
paths:
6-
- '**/site.hs'
6+
- 'message-index/site.hs'
77
branches:
88
- main
99
pull_request:
1010
paths:
11-
- '**/site.hs'
11+
- 'message-index/site.hs'
1212
types:
1313
- opened
1414
- synchronize
@@ -24,5 +24,5 @@ jobs:
2424
uses: haskell-actions/hlint-scan@v1
2525
with:
2626
path: |
27-
**/site.hs
28-
hints: message_index/.hlint.yml
27+
message-index/site.hs
28+
hints: message-index/.hlint.yml

0 commit comments

Comments
 (0)