Skip to content

Commit 1edba81

Browse files
committed
Improve
1 parent b887512 commit 1edba81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/reusable-CI-workflow.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ jobs:
120120
- name: Build with PHP ${{ steps.setup-php.outputs.php-version }} & Symfony ${{ matrix.symfony-version }}
121121
run: |
122122
SF_CONSTRAINT="~${{ matrix.symfony-version }}.0"
123-
composer require -W \
124-
symfony/validator:${SF_CONSTRAINT} \
123+
composer update --no-install --with-all-dependencies --minimal-changes \
124+
--with "symfony/validator:${SF_CONSTRAINT}" \
125125
${{ matrix.pkg-extra-constraints }} \
126126
&& make build
127127
@@ -202,8 +202,8 @@ jobs:
202202
- name: Build with PHP ${{ steps.setup-php.outputs.php-version }} & Symfony ${{ env.SYMFONY_VERSION }}
203203
run: |
204204
SF_CONSTRAINT="~${{ env.SYMFONY_VERSION }}.0"
205-
composer require -W \
206-
symfony/validator:${SF_CONSTRAINT} \
205+
composer update --no-install --with-all-dependencies --minimal-changes \
206+
--with "symfony/validator:${SF_CONSTRAINT}" \
207207
&& make build
208208
209209
- name: ComposerRequireChecker
@@ -282,8 +282,8 @@ jobs:
282282
run: |
283283
SF_CONSTRAINT="~${{ matrix.symfony-version }}.0@dev"
284284
composer config minimum-stability dev \
285-
&& composer require -W \
286-
symfony/validator:${SF_CONSTRAINT} \
285+
&& composer update --no-install --with-all-dependencies --minimal-changes \
286+
--with "symfony/validator:${SF_CONSTRAINT}" \
287287
${{ matrix.pkg-extra-constraints }} \
288288
&& make build
289289

0 commit comments

Comments
 (0)