Fix: run composer create-project inside container

Contribution Date
Contribution Project
Contribution Details
Fix: run composer create-project inside container This commit fixes a CI failure where dependencies for Drupal were being resolved against the GitHub Runner's PHP version (e.g., 8.3/8.4) instead of the target container's PHP version (e.g., 8.2). This caused incompatibility errors when running the tests on older PHP versions. - Reorders the `docker-buildx.yml` workflow to build the image *before* downloading Drupal. - Updates the "Download Drupal" step to run `composer create-project` inside a temporary container using the just-built image. This ensures that the generated `composer.lock` and `platform_check.php` match the container's environment. - Maintains the conditional logic to install Drupal 10 for PHP 8.2 and Drupal 11 for newer versions. Previous fixes included in this PR: - Enable `SQLITE_ENABLE_COLUMN_METADATA` for apache-bookworm builds. - Consolidate testing logic into the main build workflow. Co-authored-by: hussainweb <1040271+hussainweb@users.noreply.github.com>
Contribution Author
hussainweb
Files count
0
Patches count
1