diff --git a/.github/workflows/ci-phpstan_baseline.yml b/.github/workflows/ci-phpstan_baseline.yml index a68414b62dfb6..2eca5c7043502 100644 --- a/.github/workflows/ci-phpstan_baseline.yml +++ b/.github/workflows/ci-phpstan_baseline.yml @@ -47,7 +47,7 @@ jobs: # Restore old cache - name: Restore phpstan cache id: cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ./.github/tmp key: phpstan-cache-${{ env.PHP_VERSION }}-${{ env.CACHE_KEY_PART }}-${{ diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 9e473c103605c..c2536341e0dc2 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -50,7 +50,7 @@ jobs: # Restore old cache - name: Restore phpstan cache id: cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ./.github/tmp key: phpstan-cache-${{ matrix.php-version }}-${{ env.CACHE_KEY_PART }}-${{ @@ -72,7 +72,7 @@ jobs: # Save cache - name: Save phpstan cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 if: ${{ success() || ( ! cancelled() && steps.cache.outputs.cache-hit != 'true' ) }} with: path: ./.github/tmp diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index ee546f3f7f275..34345f4fcb7e5 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -73,7 +73,7 @@ jobs: - run: python -m pip install pre-commit # Restore previous cache of precommit - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v5 with: path: ~/.cache/pre-commit/ key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} @@ -157,7 +157,7 @@ jobs: in: ${{ env.RAW_LOG }} # Save the precommit cache - - uses: actions/cache/save@v4 + - uses: actions/cache/save@v5 if: ${{ ! cancelled() }} with: path: ~/.cache/pre-commit/ diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 4f81ee5cc4c15..6bbc8658e6ef7 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -55,7 +55,7 @@ jobs: # Restore cache - name: Restore cache id: cache - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 env: HASH: ${{ hashFiles('htdocs/install/**', 'htdocs/filefunc.inc.php') }} KEY_ROOT: ${{ matrix.os }}-${{ env.ckey }}-${{ matrix.php_version }} @@ -185,7 +185,7 @@ jobs: # Save cache - name: Save cache - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 if: ${{ ! cancelled() }} with: # See https://github.com/actions/cache/issues/1275#issuecomment-1925217178