Skip to content

Commit 203c5c2

Browse files
committed
Add hlint CI check
1 parent 793e94b commit 203c5c2

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/code-style.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Code style check
1+
name: Code style checks
22

33
concurrency:
44
group: formatting-${{ github.ref_name }}
@@ -18,6 +18,18 @@ jobs:
1818
fetch-depth: 1
1919
- name: Install Nix
2020
uses: cachix/install-nix-action@v31
21-
- name: Check code formatting
21+
- name: Format check
2222
run: |
23-
nix develop '#formatters' --command fourmolu --mode=check --check-idempotence servant servant-*
23+
nix develop '#formatters' --command fourmolu --mode=check --check-idempotence servant servant-*
24+
lint:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- name: Checkout Code
28+
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 1
31+
- name: Install Nix
32+
uses: cachix/install-nix-action@v31
33+
- name: Run hlint check
34+
run: |
35+
nix develop '#formatters' --command hlint servant servant-*

0 commit comments

Comments
 (0)