File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ jobs:
127
127
- name : Set cache version
128
128
run : |
129
129
echo "CACHE_VERSION=hi5eTh3A" >> $GITHUB_ENV
130
- echo "STYLISH_HASKELL_VERSION=0.13.0.0" >> $GITHUB_ENV
131
130
132
131
- name : " Install build environment (apt-get)"
133
132
run : |
@@ -151,22 +150,8 @@ jobs:
151
150
path : ${{ steps.setup-haskell.outputs.cabal-store }}
152
151
key : cache-dependencies-${{ env.CACHE_VERSION }}
153
152
154
- - uses : actions/cache@v3
155
- name : " Cache `stylish-haskell`"
156
- with :
157
- path : ~/.cabal/bin/stylish-haskell
158
- key : cabal-path-${{ env.STYLISH_HASKELL_VERSION }}
159
-
160
- # Install stylish-haskell unless the right version is already available
161
- # from the cache
162
153
- name : " Install `stylish-haskell`"
163
- run : |
164
- if [[ -x $(which stylish-haskell) && $(stylish-haskell --version) == "stylish-haskell ${{ env.STYLISH_HASKELL_VERSION }}" ]];
165
- then
166
- echo "Using cached `stylish-haskell`"
167
- else
168
- cabal install stylish-haskell-${{ env.STYLISH_HASKELL_VERSION }}
169
- fi
154
+ run : cabal install stylish-haskell-0.13.0.0
170
155
171
156
- name : " `stylish-haskell` version"
172
157
run : |
You can’t perform that action at this time.
0 commit comments