Skip to content

Commit 23c7e37

Browse files
committed
Fix running of fix-whitespace on CI (hopefully)
1 parent 3a73b82 commit 23c7e37

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,12 @@ jobs:
5454
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
5555
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
5656

57+
- name: Get and run fix-whitespace
58+
uses: andreasabel/fix-whitespace-action@v1
59+
5760
- name: Run test suite
58-
run: make test && git diff --exit-code
61+
run: make test && git diff --exit-code \
62+
FIX_WHITESPACE='~/.local/fix-whitespace/bin/fix-whitespace'
5963

6064
- name: Generate Prelude HTML
6165
if: ${{ (matrix.ghc == matrix.deploy-ghc) && (github.ref == 'refs/heads/master') }}

0 commit comments

Comments
 (0)