Skip to content

Commit a0153b6

Browse files
committed
Add code action which runs HLint on site.hs
1 parent e95a1d6 commit a0153b6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/hlint.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: HLint
2+
3+
on:
4+
push:
5+
paths:
6+
- '**/site.hs'
7+
branches:
8+
- main
9+
pull_request:
10+
paths:
11+
- '**/site.hs'
12+
types:
13+
- opened
14+
- synchronize
15+
- reopened
16+
17+
jobs:
18+
hlint:
19+
name: HLint
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
- name: Check site.hs with hlint
24+
uses: haskell-actions/hlint-scan@v1
25+
with:
26+
path: |
27+
**/site.hs

0 commit comments

Comments
 (0)