Skip to content

Commit c4109b7

Browse files
committed
CI: cache-deps: mv v2-update before freeze
1 parent e13d8ee commit c4109b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cache-deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
key: ${{ env.cache-name }}-${{ env.HACKAGE_TIMESTAMP }}
8282
restore-keys: ${{ env.cache-name }}-
8383

84+
- run: cabal v2-update
85+
8486
# NOTE: Freeze is for the caching
8587
- name: "Configuration freeze"
8688
run: cabal v2-freeze --enable-tests --enable-benchmarks
@@ -94,8 +96,6 @@ jobs:
9496
key: ${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
9597
restore-keys: ${{ env.cache-name }}-${{ runner.os }}-${{ matrix.ghc }}-
9698

97-
- run: cabal v2-update
98-
9999
# Work around for filepath length limits in Windows
100100
- if: runner.os == 'Windows'
101101
name: (Windows) Shorten binary names

0 commit comments

Comments
 (0)