8787 ${{ env.CABAL_INSTALL }}
8888 cd ..
8989 rm -rf agda
90-
91- - name : Download and install fix-whitespace
92- if : steps.cache-external-restore.outputs.cache-hit != 'true'
93- run : |
94- git clone https://github.com/agda/fix-whitespace --depth=1
95- cd fix-whitespace
96- ${{ env.CABAL_INSTALL }} fix-whitespace.cabal
97- cd ..
98-
90+
9991 - name : Save external dependencies cache
10092 if : steps.cache-external-restore.outputs.cache-hit != 'true'
10193 uses : actions/cache/save@v4
@@ -111,6 +103,8 @@ jobs:
111103 # By default github actions do not pull the repo
112104 - name : Checkout cubical
113105 uses : actions/checkout@v4
106+ - uses : andreasabel/fix-whitespace-action@v1
107+
114108
115109 # #######################################################################
116110 # # TESTING
@@ -132,7 +126,7 @@ jobs:
132126 run : |
133127 make test \
134128 AGDA_EXEC='~/.cabal/bin/agda -WnoUnsupportedIndexedMatch -W error' \
135- FIX_WHITESPACE='~/.cabal /bin/fix-whitespace' \
129+ FIX_WHITESPACE='~/.local /bin/fix-whitespace' \
136130 EVERYTHINGS='cabal run Everythings'
137131
138132 - name : Save library cache
@@ -152,7 +146,7 @@ jobs:
152146 run : |
153147 make listings \
154148 AGDA_EXEC='~/.cabal/bin/agda -WnoUnsupportedIndexedMatch -W error' \
155- FIX_WHITESPACE='~/.cabal /bin/fix-whitespace' \
149+ FIX_WHITESPACE='~/.local /bin/fix-whitespace' \
156150 EVERYTHINGS='cabal run Everythings'
157151
158152 - name : Deploy to GitHub Pages
0 commit comments