on master help sign in
Install the specified cabal version
0ac7bacHarendra Kumar
.github/workflows/haskell.yml+3
@@ -14,6 +14,7 @@ jobs:
14 LC_ALL: C.UTF-8
14 LC_ALL: C.UTF-8
15 BUILD: ${{ matrix.build }}
15 BUILD: ${{ matrix.build }}
16 GHCVER: ${{ matrix.ghc_version }}
16 GHCVER: ${{ matrix.ghc_version }}
17+ CABALVER: ${{ matrix.cabal_version }}
17 DISABLE_DOCS: ${{ matrix.disable_docs }}
18 DISABLE_DOCS: ${{ matrix.disable_docs }}
18 DISABLE_TEST: ${{ matrix.disable_test }}
19 DISABLE_TEST: ${{ matrix.disable_test }}
19 DISABLE_BENCH: ${{ matrix.disable_bench }}
20 DISABLE_BENCH: ${{ matrix.disable_bench }}
@@ -204,7 +205,9 @@ jobs:
204 else
205 else
205 ./ghcup install ghc $GHCVER
206 ./ghcup install ghc $GHCVER
206 fi
207 fi
208+ ./ghcup install cabal $CABALVER
207 ./ghcup set ghc $GHCVER
209 ./ghcup set ghc $GHCVER
210+ ./ghcup set cabal $CABALVER
208
211
209 - name: Run tests
212 - name: Run tests
210 run: |
213 run: |