Skip to content

Commit 8d10943

Browse files
committed
Fix
1 parent 155614b commit 8d10943

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

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

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
php-prefer-latest: true
7070
symfony-version: '${{ inputs.symfony-min-version }}'
7171
composer-prefer-lowest: true
72+
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
73+
# Fix - matthiasnoback/symfony-config-test => Avoid issue with phpunit <-> symfony-config-test packages
74+
pkg-extra-constraints: behat/gherkin:~4.12.0 matthiasnoback/symfony-config-test:^4.3
7275
# Late php migration => Latest symfony version with lowest php version allowed by composer config
7376
- php-version: '${{ inputs.php-min-version }}'
7477
php-prefer-latest: false
@@ -120,14 +123,15 @@ jobs:
120123
run: |
121124
SF_VERSION=${{ matrix.symfony-version }}
122125
# Issue with ParamterBag below 4.4.30 => https://github.com/symfony/symfony/commit/3eca446b21607ea1c7a865ece2dd8254c33679cc
123-
test '${{ matrix.symfony-version }}' = '4.4' && test '${{ matrix.php-version }}' = '8.2' && SF_VERSION=4.4.30 || SF_VERSION=$SF_VERSION".0"
126+
test '${{ matrix.symfony-version }}' = '4.4' && test '${{ matrix.php-version }}' = '8.2' && SF_VERSION=4.4.30 || SF_VERSION="${SF_VERSION}.0"
124127
composer require -W ${{ env.COMPOSER_OPTIONS }} ${{ matrix.composer-prefer-lowest && '--prefer-lowest' || '' }} \
125-
"symfony/http-foundation:~"$SF_VERSION \
126-
"symfony/http-kernel:~"$SF_VERSION \
127-
"symfony/config:~"$SF_VERSION \
128-
"symfony/dependency-injection:~"$SF_VERSION \
129-
"symfony/event-dispatcher:~"$SF_VERSION \
130-
"symfony/routing:~"$SF_VERSION \
128+
symfony/http-foundation:~${SF_VERSION} \
129+
symfony/http-kernel:~${SF_VERSION} \
130+
symfony/config:~${SF_VERSION} \
131+
symfony/dependency-injection:~${SF_VERSION} \
132+
symfony/event-dispatcher:~${SF_VERSION} \
133+
symfony/routing:~${SF_VERSION \} \
134+
${{ matrix.pkg-extra-constraints }} \
131135
&& composer update ${{ env.COMPOSER_OPTIONS }} ${{ matrix.composer-prefer-lowest && '--prefer-lowest' || '' }} \
132136
&& make build
133137

0 commit comments

Comments
 (0)