Cache cargo dependencies (#45)

This commit is contained in:
Moises Marquez 2021-02-15 10:21:49 +01:00 committed by GitHub
parent cc340b168e
commit d89c2a36c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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