Skip to content

Commit 16be1c7

Browse files
committed
[Chore] Use flex from shivammathur/setup-php
1 parent f524168 commit 16be1c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@ jobs:
4141
with:
4242
php-version: "${{ matrix.php }}"
4343
coverage: none
44+
tools: 'composer:v2, flex'
4445

4546
-
4647
name: Restrict Symfony version
4748
if: matrix.symfony != ''
4849
run: |
49-
composer global config --no-plugins allow-plugins.symfony/flex true
50-
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.10"
5150
composer config extra.symfony.require "${{ matrix.symfony }}"
5251
(cd src/Component && composer config extra.symfony.require "${{ matrix.symfony }}")
5352

0 commit comments

Comments
 (0)