-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1.2 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
name: Haskell - lint
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
jobs:
ormolu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: mrkkrp/ormolu-action@v11
with:
pattern: |
backends/**/*.hs
benchmarks/**/*.hs
builder/**/*.hs
compiler/**/*.hs
core/**/*.hs
repl/**/*.hs
smol-backend/**/*.hs
smol-core/**/*.hs
smol-repl/**/*.hs
llvm-calc/**/*.hs
llvm-calc2/**/*.hs
llvm-calc3/**/*.hs
llvm-calc4/**/*.hs
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: "Set up HLint"
uses: rwe/actions-hlint-setup@v1
with:
version: "3.5"
- name: "Run HLint"
uses: rwe/actions-hlint-run@v2
with:
path: '["backends/", "benchmarks/", "builder/", "compiler/", "core/", "repl/", "smol-backend/", "smol-core/", "smol-repl/", "llvm-calc/", "llvm-calc2", "llvm-calc3", "llvm-calc4"]'
fail-on: warning