Skip to content

Commit 99ba82b

Browse files
committed
Install fix-whitespace on CI
1 parent c09353e commit 99ba82b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ jobs:
4343
- name: Freeze
4444
run: cabal freeze
4545

46+
# Install fix-whitespace since we need it for tests.
47+
# This is done after the freeze to make sure we re-use the packages
48+
- name: Install fix-whitespace
49+
run: |
50+
echo "import: cabal.project" > cabal.project.ci
51+
cabal install fix-whitespace --project-file=cabal.project.ci
52+
4653
# Cache the contents of ~/.cabal/store to avoid rebuilding dependencies for
4754
# every build. `restore-keys` makes it use the latest cache even if the
4855
# fingerprint doesn't match, so we don't need to start from scratch every

0 commit comments

Comments
 (0)