Skip to content

Commit 27ec2c8

Browse files
committed
CI: {caching, test, bench}: m v2-update unification
1 parent 316a0a0 commit 27ec2c8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/bench.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ jobs:
118118
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
119119
${{ env.cache-name }}-${{ runner.os }}-
120120
121-
- run: cabal update
121+
- run: |
122+
cabal v2-update
122123
123124
# max-backjumps is increased as a temporary solution
124125
# for dependency resolution failure

.github/workflows/caching.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184
185185
- if: steps.compiled-deps.outputs.cache-hit != 'true'
186186
run: |
187-
cabal update
187+
cabal v2-update
188188
189189
- if: steps.compiled-deps.outputs.cache-hit != 'true'
190190
name: Download all sources

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ jobs:
179179
${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
180180
${{ env.cache-name }}-${{ runner.os }}-
181181
182-
- run: cabal v2-update
182+
- run: |
183+
cabal v2-update
183184
184185
# repeating builds to workaround segfaults in windows and ghc-8.8.4
185186
- name: Build

0 commit comments

Comments
 (0)