Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 2, 2025

The CI builds were failing due to deprecated GitHub Actions versions. The specific error was:

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 in .github/workflows/phpunit.yml:

  • actions/checkout@v2actions/checkout@v4
  • actions/cache@v2actions/cache@v4

The shivammathur/setup-php@v2 action was already using the correct version format (v2 refers to the major version and is still actively maintained).

These minimal changes ensure the CI pipeline continues to work without any functional changes to the test execution or PHP setup process.

Fixes #147.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

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

  • https://api.github.com/repos/sebastianbergmann/exporter/zipball/3473f61172093b2da7de1fb5782e1f24cc036dc3
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/sebastianbergmann/global-state/zipball/3be331570a721f9a4b5917f4209773de17f747d7
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f5b498e631a74204185071eb41f33f38d64608aa
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/6e1a43b411b2ad34146dee7524cb13a068bb35f9
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f6458abbf32a6c8174f8f26261475dc133b3d9dc
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/sebastianbergmann/type/zipball/f77d2d4e78738c98d9a68d2596fe5e8fa380f449
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/sebastianbergmann/version/zipball/c687e3387b99f5b03b6caa64c74b63e2936ff874
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (http block)
  • https://api.github.com/repos/staabm/side-effects-detector/zipball/d8334211a140ce329c13726d4a715adbddd0a163
    • Triggering command: /usr/bin/php8.3 -n -c /tmp/fDFdUY /usr/bin/composer install --no-interaction (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.

- Update actions/checkout from v2 to v4
- Update actions/cache from v2 to v4 (fixes deprecation warning)
- Keep shivammathur/setup-php@v2 (already current)

This resolves the CI failure: "This request has been automatically failed because it uses a deprecated version of actions/cache: v2"

Co-authored-by: lisachenko <640114+lisachenko@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Github workflow files to fix CI process Update GitHub Actions to fix CI build failures Sep 2, 2025
Copilot AI requested a review from lisachenko September 2, 2025 13:35
@scrutinizer-notifier
Copy link

The inspection completed: No new issues

@lisachenko lisachenko marked this pull request as ready for review September 2, 2025 14:13
@lisachenko lisachenko merged commit 611b220 into master Sep 2, 2025
12 checks passed
@lisachenko lisachenko deleted the copilot/fix-147 branch September 2, 2025 14:14
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.

Update Github workflow files to fix CI process

3 participants