Skip to content

Commit e5ca715

Browse files
committed
Run updated recipes also on the latest php version
1 parent 1efd453 commit e5ca715

File tree

1 file changed

+39
-5
lines changed

1 file changed

+39
-5
lines changed

.github/workflows/callable-qa.yml

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,15 +254,15 @@ jobs:
254254
run: |
255255
set -x
256256
php -v
257-
composer create-project --ansi "symfony/skeleton:^6" v6
258-
cd v6
257+
composer create-project --ansi "symfony/skeleton:^6" sf6-php81
258+
cd sf6-php81
259259
composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }}
260260
composer config minimum-stability dev
261261
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json
262262
composer require -W --ansi $PACKAGES
263263
EXIT_CODE=$?
264264
265-
if [[ EXIT_CODE -eq 2 ]]; then
265+
if [[ $EXIT_CODE -eq 2 ]]; then
266266
echo -e "\n#\n#\n# You can ignore this error if your package does not support Symfony 6\n#\n#\n#\n"
267267
fi
268268
@@ -282,8 +282,42 @@ jobs:
282282
run: |
283283
set -x
284284
php -v
285-
composer create-project --ansi "symfony/skeleton:^7" v7
286-
cd v7
285+
composer create-project --ansi "symfony/skeleton:^7" sf7-php82
286+
cd sf7-php82
287+
composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }}
288+
composer config minimum-stability dev
289+
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json
290+
composer require -W --ansi $PACKAGES
291+
292+
-
293+
name: Setup PHP 8.4
294+
if: "always() && steps.config.outcome == 'success'"
295+
uses: shivammathur/setup-php@v2
296+
with:
297+
coverage: "none"
298+
php-version: "8.4"
299+
300+
-
301+
name: Create-project with skeleton ^6
302+
if: "always() && steps.config.outcome == 'success'"
303+
run: |
304+
set -x
305+
php -v
306+
composer create-project --ansi "symfony/skeleton:^6" sf6-php84
307+
cd sf6-php84
308+
composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }}
309+
composer config minimum-stability dev
310+
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json
311+
composer require -W --ansi $PACKAGES
312+
313+
-
314+
name: Create-project with skeleton ^7
315+
if: "always() && steps.config.outcome == 'success'"
316+
run: |
317+
set -x
318+
php -v
319+
composer create-project --ansi "symfony/skeleton:^7" sf7-php84
320+
cd sf7-php84
287321
composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }}
288322
composer config minimum-stability dev
289323
export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json

0 commit comments

Comments
 (0)