chore(ci): cache cargo dependencies

This commit is contained in:
Orhun Parmaksız 2021-11-26 00:14:53 +03:00
parent 5317987270
commit 22c9f5e92a
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -40,6 +40,17 @@ jobs:
profile: minimal
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: Build
uses: actions-rs/cargo@v1
with: