Skip to content

Commit e753e87

Browse files
introduce fourmolu to ci
1 parent df5f8f4 commit e753e87

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ concurrency:
2323
cancel-in-progress: true
2424

2525
jobs:
26+
check-formatting:
27+
name: Check formatting
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: install fourmolu
32+
run: |
33+
wget https://github.com/fourmolu/fourmolu/releases/download/v0.17.0.0/fourmolu-0.17.0.0-linux-x86_64
34+
chmod +x fourmolu-0.17.0.0-linux-x86_64
35+
mv fourmolu-0.17.0.0-linux-x86_64 fourmolu
36+
- run: ./fourmolu -c .
37+
2638
test-with-cabal:
2739
name: Haskell-CI - Linux - ${{ matrix.ghc-version }}
2840

0 commit comments

Comments
 (0)