From aeb206bcfba2f4f865f0be80a8ce1de70f7e3495 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 9 Dec 2021 12:02:20 +0100 Subject: [PATCH] Fix CI for LTS --- .github/workflows/continuous-integration.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3206515c3..4acf1f584 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -32,6 +32,7 @@ jobs: - "7.3" - "7.4" - "8.0" + - "8.1" dependencies: [locked] os: [ubuntu-latest] experimental: [false] @@ -44,10 +45,6 @@ jobs: dependencies: lowest os: ubuntu-latest experimental: false - - php-version: "8.0" - dependencies: highest - os: ubuntu-latest - experimental: false - php-version: "8.0" os: windows-latest dependencies: locked @@ -57,13 +54,13 @@ jobs: dependencies: locked experimental: false - php-version: "8.1" - dependencies: lowest-ignore + dependencies: lowest os: ubuntu-latest - experimental: true + experimental: false - php-version: "8.1" - dependencies: highest-ignore + dependencies: highest os: ubuntu-latest - experimental: true + experimental: false steps: - name: "Checkout" @@ -118,14 +115,11 @@ jobs: run: "echo \"SYMFONY_DEPRECATIONS_HELPER=baselineFile=./tests/deprecations-8.1.json&max[direct]=0\" >> $GITHUB_ENV" - name: "Update dev requirements to latest available for the current PHP even on locked builds as they are not bundled dependencies" - run: "composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator" + run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator" - name: "Run install again using composer binary from source" run: "bin/composer install ${{ env.COMPOSER_FLAGS }}" - - name: "Validate composer.json" - run: "bin/composer validate" - - name: "Prepare git environment" run: "git config --global user.name composer && git config --global user.email composer@example.com"