Skip to content

Commit 887ee76

Browse files
committed
Speedup CI: Run cargo-update before caching
So that it knows which specific version is used to invalidate caching. Also, on 1.63 fetching from registry is especially slow, running `cargo +stable update` befoe this can speed it up a little bit. Signed-off-by: Jiahao XU <[email protected]>
1 parent 8bfcb02 commit 887ee76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
1919
shell: bash
2020

21+
- run: cargo +stable update
22+
2123
- uses: Swatinem/rust-cache@v2
2224

2325
- run: cargo test

0 commit comments

Comments
 (0)