From dbb58878f942b3e65666aab8ed7097de83888e0a Mon Sep 17 00:00:00 2001 From: Norbert Orzechowicz <1921950+norberttech@users.noreply.github.com> Date: Wed, 5 Mar 2025 09:26:50 +0100 Subject: [PATCH] Update action cache from @v2 to @v4 in Github Action workflows

Change Log

Added

Fixed

Changed

Removed

Deprecated

Security


Description

--- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/coduo/php-humanizer?shareId=XXXX-XXXX-XXXX-XXXX). --- .github/workflows/changelog-update.yml | 2 +- .github/workflows/static-analyze.yml | 2 +- .github/workflows/tests.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/changelog-update.yml b/.github/workflows/changelog-update.yml index 603fb4b..f00f848 100644 --- a/.github/workflows/changelog-update.yml +++ b/.github/workflows/changelog-update.yml @@ -20,7 +20,7 @@ jobs: uses: "actions/checkout@v2" - name: "Restore Automation cache" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | cache diff --git a/.github/workflows/static-analyze.yml b/.github/workflows/static-analyze.yml index c7f27f0..7970e56 100644 --- a/.github/workflows/static-analyze.yml +++ b/.github/workflows/static-analyze.yml @@ -41,7 +41,7 @@ jobs: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 02651fc..40e9975 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }}