Skip to content

Commit f84b5ae

Browse files
authored
ci: align the whole symfony stack on the 8.1 edge job (#8465)
1 parent 393351e commit f84b5ae

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,8 +909,11 @@ jobs:
909909
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
910910
- name: Allow unstable project dependencies
911911
run: composer config minimum-stability dev
912-
- name: Force Symfony 8.1 dev for framework-bundle and json-streamer
913-
run: composer require --dev --no-update --no-interaction "symfony/framework-bundle:8.1.x-dev" "symfony/json-streamer:8.1.x-dev"
912+
# minimum-stability dev lets unpinned components float to the next minor's dev branch, and
913+
# mixing Symfony minor dev branches is not supported: framework-bundle 8.1.x-dev with
914+
# property-info/serializer/type-info 8.2.x-dev loses property metadata entirely
915+
- name: Force Symfony 8.1 dev
916+
run: composer require --dev --no-update --no-interaction "symfony/framework-bundle:8.1.x-dev" "symfony/json-streamer:8.1.x-dev" "symfony/serializer:8.1.x-dev" "symfony/property-info:8.1.x-dev" "symfony/type-info:8.1.x-dev"
914917
- name: Cache dependencies
915918
uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0
916919
with:

0 commit comments

Comments
 (0)