From a0471a5447a2b09315ae4fe28cb64cab1d136d5c Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 4 May 2021 17:46:44 -0600 Subject: [PATCH] Add ~/.rustup to the list of cached paths And restore skipping of rust install if it hasn't changed. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9dce3e99e6..b5929f7912 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,11 +32,12 @@ jobs: path: | ~/.cargo/registry ~/.cargo/git + ~/.rustup target key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }} - name: Install Rust - # if: steps.cache.outputs.cache-hit != 'true' + if: steps.cache.outputs.cache-hit != 'true' uses: actions-rs/toolchain@v1 with: toolchain: stable