Author: Christoph M. Becker (cmb69) Committer: GitHub (web-flow) Pusher: saundefined Date: 2024-11-09T17:04:08+03:00
Commit: https://github.com/php/web-php/commit/1a8b9dbfc3ff38be76bc4958f861cf9007b39a0d Raw diff: https://github.com/php/web-php/commit/1a8b9dbfc3ff38be76bc4958f861cf9007b39a0d.diff Update to actions/cache@v4 (#1120) v3 is meant for nodejs 16, but that is no longer supported by hosted GH runners[1]. To avoid potential instabilities, we update to v4. [1] <https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/> Changed paths: M .github/workflows/integrate.yaml M .github/workflows/pr-preview.yml M .github/workflows/update-screenshots.yaml Diff: diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 109b23197b..0fb48b5e46 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -40,7 +40,7 @@ jobs: run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3" + uses: "actions/cache@v4" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}" @@ -141,7 +141,7 @@ jobs: run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3" + uses: "actions/cache@v4" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}" diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index ae01474259..0cdaa7b13c 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -78,7 +78,7 @@ jobs: run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV" - name: "Cache dependencies installed with composer" - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}" diff --git a/.github/workflows/update-screenshots.yaml b/.github/workflows/update-screenshots.yaml index 1d2f4b7daa..69e00bb267 100644 --- a/.github/workflows/update-screenshots.yaml +++ b/.github/workflows/update-screenshots.yaml @@ -47,7 +47,7 @@ jobs: run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV" - name: "Cache dependencies installed with composer" - uses: "actions/cache@v3" + uses: "actions/cache@v4" with: path: "${{ env.COMPOSER_CACHE_DIR }}" key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}"