Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jul 10, 2025

The build workflows were failing due to deprecated versions of GitHub Actions. The error message indicated:

This request has been automatically failed because it uses a deprecated version of actions/cache: v2. Please update your workflow to use v3/v4 of actions/cache to avoid interruptions.

This PR updates the deprecated actions to their latest stable versions:

Changes made:

  • Updated actions/checkout@v2actions/checkout@v4 in both workflows
  • Updated actions/cache@v2actions/cache@v4 in both workflows

Files updated:

  • .github/workflows/phpstan.yml - Updated checkout and cache actions
  • .github/workflows/phpunit.yml - Updated checkout and cache actions

The changes are minimal and surgical (2 files changed, 4 insertions, 4 deletions) and maintain full compatibility with the existing workflow configurations. All YAML syntax has been validated.

Fixes #508.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/adlawson/php-vfs/zipball/e955034419d6a8f92c9a8ea2e626eeed96b41095
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/collections/zipball/2eb07e5953eed811ce1b309a7478a3b236f2273d
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/common/zipball/d9ea4a54ca2586db781f0265d36bea731ac66ec5
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/dbal/zipball/4a4e2eed3134036ee36a147ee0dac037dfa17868
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/deprecations/zipball/459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/inflector/zipball/5817d0659c5b50c9b950feb9af7b9668e2c436bc
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/orm/zipball/6307b4fa7d7e3845a756106977e3b48907622098
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/doctrine/persistence/zipball/0ea965320cec355dba75031c1b23d4c78362e3ff
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/console/zipball/9e27aecde8f506ba0fd1d9989620c04a87697101
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/polyfill-php84/zipball/000df7860439609837bbe28670b0be15783b7fbf
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)
  • https://api.github.com/repos/symfony/string/zipball/f3570b8c61ca887a9e2938e85cb6458515d2b125
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/oBL5EO /usr/bin/composer install --no-interaction --no-progress (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: lisachenko <640114+lisachenko@users.noreply.github.com>
@scrutinizer-notifier
Copy link

A new inspection was created.

Copilot AI changed the title [WIP] Bug: Build workflow fails because of deprecated version of actions/cache. Fix deprecated GitHub Actions versions in CI workflows Jul 10, 2025
Copilot AI requested a review from lisachenko July 10, 2025 10:04
@lisachenko lisachenko marked this pull request as ready for review July 11, 2025 09:49
@lisachenko lisachenko merged commit d288599 into master Jul 11, 2025
8 of 10 checks passed
@lisachenko lisachenko deleted the copilot/fix-508 branch July 11, 2025 09:49
@lisachenko lisachenko added this to the 4.0.0 milestone Jul 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Build workflow fails because of deprecated version of actions/cache.

3 participants