mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-11-28 12:01:21 +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
|
||||
steps:
|
||||
- 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
|
||||
with:
|
||||
profile: minimal
|
||||
|
|
Loading…
Reference in a new issue