diff --git a/.forgejo/actions/rust-toolchain/action.yml b/.forgejo/actions/rust-toolchain/action.yml index ae5cfcee..97ecb4b2 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@v3 + uses: actions/cache@v4 with: path: | ~/.rustup diff --git a/.forgejo/actions/timelord/action.yml b/.forgejo/actions/timelord/action.yml index bb9766d5..40218364 100644 --- a/.forgejo/actions/timelord/action.yml +++ b/.forgejo/actions/timelord/action.yml @@ -20,7 +20,7 @@ runs: steps: - name: Cache timelord-cli installation id: cache-timelord-bin - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cargo/bin/timelord key: timelord-cli-v3.0.1 @@ -32,7 +32,7 @@ runs: if: steps.cache-timelord-bin.outputs.cache-hit != 'true' - name: Load timelord files - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: /timelord/ key: ${{ inputs.key }} @@ -40,7 +40,7 @@ runs: shell: bash run: timelord sync --source-dir ${{ inputs.path }} --cache-dir /timelord/ - name: Save timelord - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: /timelord/ key: ${{ inputs.key }} diff --git a/.forgejo/workflows/release-image.yml b/.forgejo/workflows/release-image.yml index 58d6cab2..54826249 100644 --- a/.forgejo/workflows/release-image.yml +++ b/.forgejo/workflows/release-image.yml @@ -131,7 +131,7 @@ jobs: path: . - name: Cache Rust registry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | .cargo/git @@ -141,21 +141,21 @@ jobs: key: rust-registry-image-${{hashFiles('**/Cargo.lock') }} - name: Cache cargo target id: cache-cargo-target - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | cargo-target-${{ matrix.target_cpu }}-${{ matrix.slug }}-${{ matrix.profile }} key: cargo-target-${{ matrix.target_cpu }}-${{ matrix.slug }}-${{ matrix.profile }}-${{hashFiles('**/Cargo.lock') }}-${{steps.rust-toolchain.outputs.rustc_version}} - name: Cache apt cache id: cache-apt - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | var-cache-apt-${{ matrix.slug }} key: var-cache-apt-${{ matrix.slug }} - name: Cache apt lib id: cache-apt-lib - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | var-lib-apt-${{ matrix.slug }}