TL;DR: By default on new projects the GH action "lint" is not working.
Base output:
Error: Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- symfony/framework-bundle is locked to version v8.0.5 and an update of this package was not requested.
- symfony/framework-bundle v8.0.5 requires ext-xml * -> it is missing from your system. Install or enable PHP's xml extension.
I tried to add COMPOSER_IGNORE_PLATFORM_REQS: 1 to the job's env as prescribed here but that only shifted the issue.
I now get:
Script cache:clear returned with error code 1
!!
!! In FrameworkExtension.php line 507:
!!
!! Session support cannot be enabled as the session extension is not installed
!! . See https://php.net/session.installation for instructions.
I did not find a fix yet but I wanted to let you know about it
Steps to reproduce:
- start a new symfony project
- follow Using Symfony Docker with an existing project
- push to your GH repo and wait for the CI to fail
TL;DR: By default on new projects the GH action "lint" is not working.
Base output:
I tried to add
COMPOSER_IGNORE_PLATFORM_REQS: 1to the job's env as prescribed here but that only shifted the issue.I now get:
I did not find a fix yet but I wanted to let you know about it
Steps to reproduce: