Skip to content

Commit f367563

Browse files
committed
minor #147 install Flex as part of the PHP setup step (xabbuh)
This PR was merged into the 0.4-dev branch. Discussion ---------- install Flex as part of the PHP setup step Commits ------- 56d0d38 install Flex as part of the PHP setup step
2 parents 9bbb1d4 + 56d0d38 commit f367563

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
with:
9898
php-version: '${{ matrix.php-version }}'
9999
coverage: 'none'
100+
tools: flex
100101

101102
- name: 'Get Composer cache directory'
102103
id: 'composer-cache'
@@ -111,12 +112,9 @@ jobs:
111112

112113
- name: 'Install dependencies'
113114
env:
114-
COMPOSER_OPTIONS: '${{ matrix.composer-options }}'
115115
SYMFONY_REQUIRE: '${{ matrix.symfony-version }}'
116116
run: |
117-
composer global config --no-plugins allow-plugins.symfony/flex true
118-
composer global require --no-progress --no-scripts --no-plugins symfony/flex
119-
composer update --no-progress $COMPOSER_OPTIONS
117+
composer update --no-progress ${{ matrix.composer-options }}
120118
121119
- name: 'Install PHPUnit'
122120
run: 'vendor/bin/simple-phpunit install'

0 commit comments

Comments
 (0)