-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (31 loc) · 997 Bytes
/
lint-haskell.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Haskell - lint
on: [push]
jobs:
ormolu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: haskell-actions/run-ormolu@v14
with:
pattern: |
builder/**/*.hs
smol-backend/**/*.hs
smol-core/**/*.hs
smol-interpreter/**/*.hs
smol-modules/**/*.hs
smol-repl/**/*.hs
smol-typechecker/**/*.hs
smol-wasm/**/*.hs
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: "Set up HLint"
uses: rwe/actions-hlint-setup@v1
with:
version: "3.6.1"
- name: "Run HLint"
uses: rwe/actions-hlint-run@v2
with:
path: '["builder/", "smol-backend/", "smol-core/", "smol-interpreter/", "smol-modules/", "smol-repl/", "smol-typechecker/", "smol-wasm/"]'
fail-on: warning