1
0
Fork 0

Cache Cargo dependencies and artifacts

This commit is contained in:
Robbert van der Helm 2022-02-05 16:50:11 +01:00
parent 3e2dc92b22
commit eded48977f

View file

@ -28,6 +28,17 @@ jobs:
# Needed for git-describe to do anything useful
- name: Fetch all git history
run: git fetch --force --prune --tags --unshallow
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Set up Rust toolchain
uses: actions-rs/toolchain@v1
with: