chore(ci): cache cargo dependencies for test job

This commit is contained in:
Orhun Parmaksız 2021-12-18 23:45:58 +03:00
parent d3b0229124
commit 0b6f512753
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -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 | \