Skip to content

Commit a6fe268

Browse files
committed
Update workflow to require specified symfony version in matrix
1 parent 55a82cd commit a6fe268

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ jobs:
8989
if: matrix.coverage
9090
run: echo "COVERAGE=1" >> $GITHUB_ENV
9191
- name: Update project dependencies
92-
run: composer update --no-progress --ansi
92+
run: |
93+
composer config extra.symfony.require ${{ matrix.symfony }}
94+
composer update --no-progress --ansi
9395
- name: Install PHPUnit
9496
run: vendor/bin/simple-phpunit --version
9597
- name: Clear test app cache
@@ -182,7 +184,9 @@ jobs:
182184
composer-php${{ matrix.php }}-
183185
continue-on-error: true
184186
- name: Update project dependencies
185-
run: composer update --no-progress --ansi
187+
run: |
188+
composer config extra.symfony.require ${{ matrix.symfony }}
189+
composer update --no-progress --ansi
186190
- name: Clear test app cache
187191
run: tests/Functional/app/bin/console cache:clear --ansi
188192
- name: Enable code coverage

0 commit comments

Comments
 (0)