Skip to content

Commit cb5733f

Browse files
authored
Add HLint action to Github CI (#319)
1 parent 8c3561e commit cb5733f

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/hlint.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: HLint
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
hlint:
11+
name: HLint
12+
runs-on: ubuntu-latest
13+
permissions:
14+
security-events: write
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Lint Haskell files with hlint
18+
uses: haskell-actions/hlint-scan@v1
19+
with:
20+
hints: .hlint.yml

0 commit comments

Comments
 (0)