diff --git a/.github/workflows/cs.yml b/.github/workflows/cs.yml index fd6b61be..ddbd6bcd 100644 --- a/.github/workflows/cs.yml +++ b/.github/workflows/cs.yml @@ -29,7 +29,7 @@ jobs: # Install dependencies and handle caching in one go. # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer - name: Install Composer dependencies - uses: "ramsey/composer-install@v3" + uses: "ramsey/composer-install@v4" with: # Bust the cache at least once a month - output format: YYYY-MM-DD. custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9adeff03..64282aa4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -152,7 +152,7 @@ jobs: # @link https://github.com/marketplace/actions/install-php-dependencies-with-composer - name: Install Composer dependencies - normal if: ${{ steps.composer_toggle.outputs.TYPE == '1' || steps.composer_toggle.outputs.TYPE == '3' }} - uses: "ramsey/composer-install@v3" + uses: "ramsey/composer-install@v4" with: # Bust the cache at least once a month - output format: YYYY-MM-DD. custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F") @@ -160,7 +160,7 @@ jobs: # For PHP 8.0 and above on WP 5.2 - 5.8, we need to install with ignore platform reqs as not all dependencies allow it. - name: Install Composer dependencies with ignore platform reqs if: ${{ steps.composer_toggle.outputs.TYPE == '2' || steps.composer_toggle.outputs.TYPE == '4' }} - uses: "ramsey/composer-install@v3" + uses: "ramsey/composer-install@v4" with: composer-options: --ignore-platform-req=php custom-cache-suffix: $(date -u -d "-0 month -$(($(date +%d)-1)) days" "+%F")