File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
latest :
11
- name : PHP ${{ matrix.php }} Latest with Symfony ${{ matrix.symfony-require }}
11
+ name : PHP ${{ matrix.php }} Latest with Symfony ${{ matrix.symfony-version }}
12
12
runs-on : ubuntu-latest
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
16
php : ['7.3', '7.4', '8.0']
17
- symfony-require : ['*']
17
+ symfony-version : ['*']
18
18
include :
19
19
- php : ' 7.4'
20
- symfony-require : 3.4.*
20
+ symfony-version : 3.4.*
21
21
- php : ' 7.4'
22
- symfony-require : 4.4.*
22
+ symfony-version : 4.4.*
23
23
- php : ' 8.0'
24
- symfony-require : 5.4.*
24
+ symfony-version : 5.4.*
25
25
26
26
steps :
27
27
- name : Checkout code
37
37
- name : Composer validate
38
38
run : composer validate --strict --no-check-lock
39
39
40
- - name : Globally install symfony/flex
41
- if : matrix.symfony-require != '*'
42
- run : composer global require --no-progress --no-scripts --no-plugins symfony/flex
40
+ - name : Symfony version
41
+ if : matrix.symfony-version != '*'
42
+ run : composer global require --no-progress symfony/flex && composer config extra.symfony.require ${{ matrix.symfony-version }}
43
43
44
44
- name : Install dependencies
45
45
run : composer update --prefer-dist --no-interaction --no-progress
You can’t perform that action at this time.
0 commit comments