From d3e9c0ac1c8f0679fc8f358236a04942594d197e Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 14 Jan 2025 16:04:25 +0200 Subject: [PATCH] Update `actions/cache` action --- .github/workflows/rust.yml | 8 ++++---- .github/workflows/rustdoc.yml | 2 +- .github/workflows/snapshot-build.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 786a28c9e2..bedcdbdfdd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -34,7 +34,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Configure cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.cargo/registry @@ -94,7 +94,7 @@ jobs: if: runner.os == 'Linux' || runner.os == 'Windows' - name: Configure ROCm cache (Windows) - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 id: rocm-cache with: path: C:\Program Files\AMD\ROCm @@ -123,7 +123,7 @@ jobs: if: runner.os == 'Windows' && steps.rocm-cache.outputs.cache-hit != 'true' - name: Configure cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.cargo/registry @@ -197,7 +197,7 @@ jobs: if: runner.os == 'macOS' - name: Configure cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.cargo/registry diff --git a/.github/workflows/rustdoc.yml b/.github/workflows/rustdoc.yml index 953b296c63..c35adfc5c7 100644 --- a/.github/workflows/rustdoc.yml +++ b/.github/workflows/rustdoc.yml @@ -33,7 +33,7 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Configure cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.cargo/registry diff --git a/.github/workflows/snapshot-build.yml b/.github/workflows/snapshot-build.yml index dba04fe5b8..f97debcc2c 100644 --- a/.github/workflows/snapshot-build.yml +++ b/.github/workflows/snapshot-build.yml @@ -199,7 +199,7 @@ jobs: if: runner.os == 'Windows' - name: Configure ROCm cache (Windows) - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 id: rocm-cache with: path: C:\Program Files\AMD\ROCm @@ -215,7 +215,7 @@ jobs: if: runner.os == 'Windows' && steps.rocm-cache.outputs.cache-hit != 'true' - name: Configure cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.cargo/registry