From 8fdbb1d54d917850a69e5a39744d7b5ef60201f1 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 6 Apr 2025 07:48:05 -0400 Subject: [PATCH] workflow: Move to cache v4 Signed-off-by: Daniel Silverstone --- .github/workflows/basic.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/basic.yaml b/.github/workflows/basic.yaml index ff45efa..fb7a43b 100644 --- a/.github/workflows/basic.yaml +++ b/.github/workflows/basic.yaml @@ -50,17 +50,17 @@ jobs: run: | echo "commit_hash=$(rustc -vV | grep commit-hash | cut -b14-23)" >> $GITHUB_OUTPUT - name: Cache cargo registry - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo git trees - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-gits-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: target key: ${{ runner.os }}-cargo-build-${{ matrix.target }}-${{ steps.rustc.outputs.commit_hash }}-${{ hashFiles('**/Cargo.lock') }}