mirror of
https://github.com/orhun/systeroid
synced 2024-07-21 02:14:36 +00:00
chore(ci): cache cargo dependencies for test job
This commit is contained in:
parent
d3b0229124
commit
0b6f512753
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -79,6 +79,17 @@ jobs:
|
|||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- name: Cache Cargo dependencies
|
||||
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: Setup cargo-tarpaulin
|
||||
run: |
|
||||
curl -s https://api.github.com/repos/xd009642/tarpaulin/releases/latest | \
|
||||
|
|
Loading…
Reference in a new issue