Skip to content

Commit 9b6e9d8

Browse files
committed
fix stability handling and workaround for symfony 8 bug
1 parent 19b9c7e commit 9b6e9d8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,17 @@ jobs:
9292
tools: "flex"
9393

9494
- name: "Enforce using stable dependencies"
95-
run: "composer config minimum-stability stable"
96-
if: "${{ matrix.stability == 'stable' }}"
95+
run: "composer config minimum-stability ${{ matrix.stability }}"
96+
if: "${{ matrix.stability }}"
9797

9898
- name: "Add dependencies and enable flex"
9999
run: |
100100
composer config allow-plugins.symfony/flex true
101101
composer require --no-update ${{ matrix.dependencies }}
102102
103+
- name: "Work around https://github.com/symfony/symfony/pull/62692"
104+
run: composer require --no-update symfony/console
105+
103106
- name: "Install dependencies with Composer"
104107
uses: "ramsey/composer-install@v3"
105108
with:

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@
9696
"tests/Resources/app/AppKernel.php"
9797
]
9898
},
99-
"prefer-stable": false,
10099
"scripts": {
101100
"test": "vendor/bin/phpunit",
102101
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"

0 commit comments

Comments
 (0)