mirror of
https://github.com/orhun/systeroid
synced 2024-07-21 02:14:36 +00:00
chore(ci): cache cargo dependencies
This commit is contained in:
parent
5317987270
commit
22c9f5e92a
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue