From 638c12518e640a83625ac9014c9608e0a65d1d90 Mon Sep 17 00:00:00 2001 From: Richard Menzies <52405405+WizardOhio24@users.noreply.github.com> Date: Sat, 7 Nov 2020 20:39:57 +0000 Subject: Add cache to GithubActions (#410) --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github') 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: -- cgit v1.2.3