Skip to content

Commit 000c97a

Browse files
committed
Don't run hlint on testdata directories
1 parent ade0e85 commit 000c97a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/hlint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
- name: 'Checking code'
2121
uses: rwe/actions-hlint-run@v2
2222
with:
23-
hlint-bin: "hlint --with-group=extra"
23+
# Ignore testdata directories to silence hlint warnings for test data files.
24+
hlint-bin: "hlint --with-group=extra --ignore-glob='**/testdata/**/*.hs' --ignore-glob='**/test/data/**/*.hs'"
2425
fail-on: error
2526
path: .
2627

0 commit comments

Comments
 (0)