Skip to content

Commit ac3fcf8

Browse files
committed
adding cargo cache to ci build.
1 parent bd06611 commit ac3fcf8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
4040
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
4141
42+
- name: Cache Cargo
43+
uses: actions/cache@v4
44+
with:
45+
path: ~/.cargo
46+
key: cargo-cache-${{ steps.rust-toolchain.outputs.cachekey }}-${{ hashFiles('Cargo.lock') }}
47+
4248
- uses: astral-sh/setup-uv@v5
4349
with:
4450
python-version: 3.11

0 commit comments

Comments
 (0)