From 221efdfea9c62797ebee8f99264452902582aaf5 Mon Sep 17 00:00:00 2001 From: andrew-signal Date: Mon, 10 Mar 2025 13:03:32 -0400 Subject: [PATCH] Update to actions/cache@v4 (#328) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d587a4a7..0910a482 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: id: rust-version run: echo "::set-output name=version::$(rustc --version)" - name: Cache cargo index - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cargo/registry/index key: index-${{ runner.os }}-${{ github.run_number }} @@ -45,14 +45,14 @@ jobs: - name: Create lockfile run: cargo generate-lockfile - name: Cache cargo registry - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cargo/registry/cache key: registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }} - name: Fetch dependencies run: cargo fetch - name: Cache target directory - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: target key: clippy-target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}