From 6ade2c16da1210526c2dccb9e6aaf38abe0bc2a7 Mon Sep 17 00:00:00 2001 From: Jan Rosier Date: Tue, 27 May 2025 17:33:24 +0200 Subject: [PATCH] Run updated recipes on maintained Symfony versions --- .github/workflows/callable-qa.yml | 56 +++++++++++++++---------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/callable-qa.yml b/.github/workflows/callable-qa.yml index f19e1eaf..58b5f0cc 100644 --- a/.github/workflows/callable-qa.yml +++ b/.github/workflows/callable-qa.yml @@ -240,34 +240,6 @@ jobs: echo PACKAGES=$PACKAGES >> $GITHUB_ENV [[ "" != "$PACKAGES" ]] - - - name: Setup PHP 7.4 - if: "always() && steps.config.outcome == 'success'" - uses: shivammathur/setup-php@v2 - with: - coverage: "none" - php-version: "7.4" - - - - name: Create-project with skeleton ^5 - if: "always() && steps.config.outcome == 'success'" - run: | - set -x - php -v - composer create-project --ansi "symfony/skeleton:^5" v5 - cd v5 - composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }} - composer config minimum-stability dev - export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json - composer require -W --ansi $PACKAGES - EXIT_CODE=$? - - if [[ EXIT_CODE -eq 2 ]]; then - echo -e "\n#\n#\n# You can ignore this error if your package does not support Symfony 5\n#\n#\n#\n" - fi - - exit $EXIT_CODE - - name: Setup PHP 8.1 if: "always() && steps.config.outcome == 'success'" @@ -288,3 +260,31 @@ jobs: composer config minimum-stability dev export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json composer require -W --ansi $PACKAGES + EXIT_CODE=$? + + if [[ EXIT_CODE -eq 2 ]]; then + echo -e "\n#\n#\n# You can ignore this error if your package does not support Symfony 6\n#\n#\n#\n" + fi + + exit $EXIT_CODE + + - + name: Setup PHP 8.2 + if: "always() && steps.config.outcome == 'success'" + uses: shivammathur/setup-php@v2 + with: + coverage: "none" + php-version: "8.2" + + - + name: Create-project with skeleton ^7 + if: "always() && steps.config.outcome == 'success'" + run: | + set -x + php -v + composer create-project --ansi "symfony/skeleton:^7" v7 + cd v7 + composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }} + composer config minimum-stability dev + export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json + composer require -W --ansi $PACKAGES