Skip to content

Commit c11fe72

Browse files
committed
Add fourmolu to the nix devshell
Use that in the CI
1 parent cc61062 commit c11fe72

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/formatting.yaml renamed to .github/workflows/format.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,5 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v4
13-
14-
- uses: haskell-actions/run-fourmolu@v9
15-
with:
16-
version: "0.14.0.0"
13+
- uses: cachix/install-nix-action@v22
14+
- run: nix develop --command fourmolu -m check .

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
cabal = "latest";
3838
hlint = "latest";
3939
haskell-language-server = "latest";
40+
fourmolu = "0.14.0.0";
4041
};
4142
};
4243

0 commit comments

Comments
 (0)