diff --git a/.github/workflows/ci-phpstan_baseline.yml b/.github/workflows/ci-phpstan_baseline.yml index 692d259d1d82a..dd62e49920027 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 671326f83c1e5..18648ac1b5214 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -52,7 +52,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 }}-${{ @@ -74,7 +74,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 7cc7ed6f379a0..ce487f329d043 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -75,7 +75,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') }} @@ -163,7 +163,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 781a433bfbc91..d2eb6c6e90f8e 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -57,7 +57,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', 'htdocs/version.inc.php') }} KEY_ROOT: ${{ matrix.os }}-${{ env.ckey }}-${{ matrix.php_version }} @@ -187,7 +187,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