Replace current caching solution with Rust Cache

This commit is contained in:
Vladimir Fomene
2023-03-08 13:49:54 +03:00
committed by Daniela Brozzoni
parent 0aaf420f6d
commit ab9242d10d
3 changed files with 8 additions and 33 deletions

View File

@@ -23,15 +23,8 @@ jobs:
override: true
profile: minimal
components: llvm-tools-preview
- name: Cache cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Rust Cache
uses: Swatinem/rust-cache@v2.2.1
- name: Install grcov
run: if [[ ! -e ~/.cargo/bin/grcov ]]; then cargo install grcov; fi
- name: Build simulator image