Skip to content

Commit 591a6eb

Browse files
authored
[Chore] Use Symfony Flex from shivammathur/setup-php (#1102)
| Q | A | --------------- | ----- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | | License | MIT
2 parents 64e189a + 16be1c7 commit 591a6eb

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)