summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c2c9eb9d..9b6fb6b1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -21,6 +21,14 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: Restore cargo cache
+ uses: actions/cache@v2
+ env:
+ cache-name: cache-cargo-crates
+ with:
+ path: ~/.cargo
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.rust }}-${{ hashFiles('Cargo.lock') }}
+
- name: Install Rust
uses: actions-rs/toolchain@v1
with: