Skip to content

Commit a63742b

Browse files
authored
Increase CI supported versions (#30)
1 parent 8e07ccc commit a63742b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,15 @@ jobs:
246246
php-version: ${{ needs.fetch-supported-versions.outputs.php-max }}
247247
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
248248
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
249-
pkg-extra-constraints: behat/gherkin:~4.12.0
249+
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
250+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-max == '8.4' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
250251
- job-name: Symfony - With lowest supported PHP version
251252
# Fix - Sf 7.0 require php 8.1 minimum, most of deps require 8.2 !
252-
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '6.3' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.1' || needs.fetch-supported-versions.outputs.php-min }}
253+
php-version: ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && '8.2' || needs.fetch-supported-versions.outputs.php-min }}
253254
symfony-version: ${{ needs.fetch-supported-versions.outputs.symfony-next }}
254255
# Fix - behat/gherkin => Avoid issue with behat <-> gherkin packages (See https://github.com/Behat/Gherkin/issues/317)
255-
pkg-extra-constraints: behat/gherkin:~4.12.0
256+
# Fix - symfony/framework-bundle - Framework bundle <7.0 require php 8.1 minimum !
257+
pkg-extra-constraints: behat/gherkin:~4.12.0 ${{ ( needs.fetch-supported-versions.outputs.symfony-next == '7.0' && needs.fetch-supported-versions.outputs.php-min == '8.0' ) && 'symfony/framework-bundle:~7.0.0@dev' || '' }}
256258

257259
steps:
258260
- name: Check out code
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"php": {"min": "8.0", "max": "8.2", "next": "8.3"},
3-
"symfony": {"min": "4.4", "max": "6.0", "next": "6.3"}
2+
"php": {"min": "8.0", "max": "8.4", "next": "8.5"},
3+
"symfony": {"min": "4.4", "max": "6.4", "next": "7.0"}
44
}

0 commit comments

Comments
 (0)