File tree 1 file changed +18
-14
lines changed
1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -37,19 +37,23 @@ jobs:
37
37
fail-fast : true
38
38
max-parallel : 4
39
39
matrix :
40
- php-version :
41
- - ' 8.2' # Latest supported
42
- - ' 8.1'
43
- - ' 8.0' # Lowest supported
44
- symfony-version :
45
- - ' 4.4' # Lowest LTS
46
- - ' 5.4' # Latest LTS
47
- exclude :
48
- # Run all symfony version only on Lowest and Latest php versions, run it only one time for others
49
- - php-version : ' 8.1'
50
- symfony-version : ' 4.4'
51
- - php-version : ' 8.1'
52
- symfony-version : ' 5.4'
40
+ include :
41
+ # Bare minimum => Lowest versions allowed by composer config
42
+ - symfony-version : ' 4.4'
43
+ php-version : ' 8.0'
44
+ composer-flag : --prefer-lowest
45
+ # Up to date versions => Latest versions allowed by composer config
46
+ - symfony-version : ' 5.4'
47
+ php-version : ' 8.2'
48
+ composer-flag : --prefer-latest
49
+ # Late symfony migration => Lowest symfony version with latest minor php version allowed by composer config
50
+ - symfony-version : ' 4.4'
51
+ php-version : ' 8.2'
52
+ composer-flag : --prefer-lowest
53
+ # Late php migration => Latest symfony version with lowest minor php version allowed by composer config
54
+ - symfony-version : ' 5.4'
55
+ php-version : ' 8.0'
56
+ composer-flag : --prefer-latest
53
57
steps :
54
58
- name : Check out code
55
59
uses : actions/checkout@v3
92
96
93
97
- name : Build
94
98
run : |
95
- composer require -W \
99
+ composer require -W ${{ matrix.composer-flag }} \
96
100
symfony/http-foundation:^${{ matrix.symfony-version }} \
97
101
symfony/http-kernel:^${{ matrix.symfony-version }} \
98
102
symfony/config:^${{ matrix.symfony-version }} \
You can’t perform that action at this time.
0 commit comments