File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 93
93
with :
94
94
coverage : none
95
95
php-version : ${{ matrix.php-version }}
96
+ tools : flex
96
97
97
98
- name : " Determine composer cache directory"
98
99
id : determine-composer-cache-directory
@@ -105,17 +106,11 @@ jobs:
105
106
key : php-${{ matrix.php-version }}-composer-${{ matrix.symfony-version }}-${{ hashFiles('composer.json') }}
106
107
restore-keys : php-${{ matrix.php-version }}-composer-${{ matrix.symfony-version }}-
107
108
108
- - name : " Install symfony 3 dependencies from composer.json"
109
- if : matrix.symfony-version == '3'
110
- run : composer require symfony/framework-bundle ^3.0 --prefer-stable --update-with-all-dependencies --no-interaction --no-progress --no-suggest
111
-
112
- - name : " Install Symfony 4 dependencies from composer.json"
113
- if : matrix.symfony-version == '4'
114
- run : composer require symfony/framework-bundle ^4.0 --prefer-stable --update-with-all-dependencies --no-interaction --no-progress --no-suggest
109
+ - name : " Restrict symfony dependencies to the correct version"
110
+ run : composer config extra.symfony.require ${{ matrix.symfony-version }}.*
115
111
116
- - name : " Install Symfony 5 dependencies from composer.json"
117
- if : matrix.symfony-version == '5'
118
- run : composer require symfony/framework-bundle ^5.0 --prefer-stable --update-with-all-dependencies --no-interaction --no-progress --no-suggest
112
+ - name : " Update dependencies with restricted symfony version"
113
+ run : composer update --prefer-stable --no-interaction --no-progress
119
114
120
115
- name : " Run unit tests with phpunit"
121
116
run : vendor/bin/phpunit --configuration=phpunit.xml
Original file line number Diff line number Diff line change 39
39
}
40
40
},
41
41
"conflict" : {
42
- "vimeo/psalm" : " ~4.2.0 "
42
+ "vimeo/psalm" : " ~4.2"
43
43
},
44
44
"config" : {
45
45
"sort-packages" : true
You can’t perform that action at this time.
0 commit comments