mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-02-17 19:25:19 +00:00
Cache cargo dependencies (#45)
This commit is contained in:
parent
cc340b168e
commit
d89c2a36c6
1 changed files with 9 additions and 0 deletions
9
.github/workflows/general.yml
vendored
9
.github/workflows/general.yml
vendored
|
@ -30,6 +30,15 @@ jobs:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Cache dependencies
|
||||||
|
id: cache-dependencies
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/registry
|
||||||
|
~/.cargo/git
|
||||||
|
target
|
||||||
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
|
|
Loading…
Reference in a new issue