diff --git a/.forgejo/actions/rust-toolchain/action.yml b/.forgejo/actions/rust-toolchain/action.yml index b16869d91..bb413d64a 100644 --- a/.forgejo/actions/rust-toolchain/action.yml +++ b/.forgejo/actions/rust-toolchain/action.yml @@ -33,7 +33,7 @@ runs: echo "version=$(rustup --version)" >> $GITHUB_OUTPUT - name: Cache rustup toolchains if: steps.rustup-version.outputs.version == '' - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | ~/.rustup diff --git a/.forgejo/actions/setup-llvm-with-apt/action.yml b/.forgejo/actions/setup-llvm-with-apt/action.yml index 5b649fc20..f188e1280 100644 --- a/.forgejo/actions/setup-llvm-with-apt/action.yml +++ b/.forgejo/actions/setup-llvm-with-apt/action.yml @@ -57,7 +57,7 @@ runs: - name: Check for LLVM cache id: cache - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /usr/bin/clang-* diff --git a/.forgejo/actions/setup-rust/action.yml b/.forgejo/actions/setup-rust/action.yml index 252e74d9b..e15b926ac 100644 --- a/.forgejo/actions/setup-rust/action.yml +++ b/.forgejo/actions/setup-rust/action.yml @@ -65,7 +65,7 @@ runs: - name: Cache toolchain binaries id: toolchain-cache - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | .cargo/bin @@ -76,7 +76,7 @@ runs: - name: Cache Cargo registry and git id: registry-cache - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | .cargo/registry/index diff --git a/.forgejo/actions/timelord/action.yml b/.forgejo/actions/timelord/action.yml index d0df5cd76..4d4f22967 100644 --- a/.forgejo/actions/timelord/action.yml +++ b/.forgejo/actions/timelord/action.yml @@ -31,7 +31,7 @@ runs: - name: Restore binary cache id: binary-cache - uses: actions/cache/restore@v5 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /usr/share/rust/.cargo/bin @@ -77,7 +77,7 @@ runs: - name: Save binary cache if: steps.check-binaries.outputs.need-install == 'true' - uses: actions/cache/save@v5 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /usr/share/rust/.cargo/bin @@ -87,7 +87,7 @@ runs: - name: Restore timelord cache with fallbacks id: timelord-restore - uses: actions/cache/restore@v5 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: ${{ env.TIMELORD_CACHE_PATH }} key: ${{ env.TIMELORD_KEY }} @@ -114,7 +114,7 @@ runs: timelord sync --source-dir ${{ env.TIMELORD_PATH }} --cache-dir ${{ env.TIMELORD_CACHE_PATH }} - name: Save updated timelord cache immediately - uses: actions/cache/save@v5 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: ${{ env.TIMELORD_CACHE_PATH }} key: ${{ env.TIMELORD_KEY }} diff --git a/.forgejo/workflows/build-debian.yml b/.forgejo/workflows/build-debian.yml index cf2f760df..69a2e0508 100644 --- a/.forgejo/workflows/build-debian.yml +++ b/.forgejo/workflows/build-debian.yml @@ -60,7 +60,7 @@ jobs: ref: ${{ github.ref_name }} - name: Cache Cargo registry - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | ~/.cargo/registry diff --git a/.forgejo/workflows/build-fedora.yml b/.forgejo/workflows/build-fedora.yml index 3b09a1ffd..589a9cb74 100644 --- a/.forgejo/workflows/build-fedora.yml +++ b/.forgejo/workflows/build-fedora.yml @@ -37,7 +37,7 @@ jobs: - name: Cache DNF packages - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /var/cache/dnf @@ -47,7 +47,7 @@ jobs: dnf-fedora${{ steps.fedora.outputs.version }}- - name: Cache Cargo registry - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | ~/.cargo/registry @@ -57,7 +57,7 @@ jobs: cargo-fedora${{ steps.fedora.outputs.version }}- - name: Cache Rust build dependencies - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | ~/rpmbuild/BUILD/*/target/release/deps diff --git a/.forgejo/workflows/documentation.yml b/.forgejo/workflows/documentation.yml index c3fded067..e0cc996bf 100644 --- a/.forgejo/workflows/documentation.yml +++ b/.forgejo/workflows/documentation.yml @@ -37,7 +37,7 @@ jobs: node-version: 22 - name: Cache npm dependencies - uses: actions/cache@v5 + uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: ~/.npm key: continuwuity-rspress-${{ steps.runner-env.outputs.slug }}-${{ steps.runner-env.outputs.arch }}-node-${{ steps.runner-env.outputs.node_version }}-${{ hashFiles('package-lock.json') }} diff --git a/.forgejo/workflows/renovate.yml b/.forgejo/workflows/renovate.yml index ea3886e5d..8bd2b7ccd 100644 --- a/.forgejo/workflows/renovate.yml +++ b/.forgejo/workflows/renovate.yml @@ -55,7 +55,7 @@ jobs: run: /usr/local/renovate/node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)' - name: Restore renovate repo cache - uses: actions/cache/restore@v5 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /tmp/renovate/cache/renovate/repository @@ -64,7 +64,7 @@ jobs: renovate-repo-cache- - name: Restore renovate package cache - uses: actions/cache/restore@v5 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /tmp/renovate/cache/renovate/renovate-cache-sqlite @@ -73,7 +73,7 @@ jobs: renovate-package-cache- - name: Restore renovate OSV cache - uses: actions/cache/restore@v5 + uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /tmp/osv @@ -117,7 +117,7 @@ jobs: - name: Save renovate package cache if: always() - uses: actions/cache/save@v5 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /tmp/renovate/cache/renovate/renovate-cache-sqlite @@ -125,7 +125,7 @@ jobs: - name: Save renovate OSV cache if: always() - uses: actions/cache/save@v5 + uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 with: path: | /tmp/osv