File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change 16
16
- uses : php-actions/composer@v6
17
17
with :
18
18
progress : yes
19
- php_version : 8.0
19
+ php_version : 8.1
20
20
version : 2
21
21
- name : " PHP-CS-Fixer"
22
22
run : composer check-cs
Original file line number Diff line number Diff line change @@ -14,19 +14,29 @@ jobs:
14
14
strategy :
15
15
max-parallel : 10
16
16
matrix :
17
- php : [ '8.0 ', '8.1 ', '8.2 ']
18
- sf_version : [ '5.4.*', '6.0 .*', '6.3 .*' ]
17
+ php : [ '8.1 ', '8.2 ', '8.3 ']
18
+ sf_version : [ '5.4.*', '6.4 .*', '7.1 .*' ]
19
19
exclude :
20
- - php : 8.0
21
- sf_version : 6.3 .*
20
+ - php : 8.1
21
+ sf_version : 7.1 .*
22
22
23
23
steps :
24
24
- uses : actions/checkout@v2
25
- - uses : php-actions/composer@v6
25
+ - name : Validate composer.json
26
+ run : composer validate --strict
27
+
28
+ - name : Setup PHP ${{ matrix.php }}
29
+ uses : shivammathur/setup-php@v2
26
30
with :
27
- progress : yes
28
- php_version : ${{matrix.php}}
29
- version : 2
31
+ php-version : ${{ matrix.php }}
32
+ run : php -v
33
+
34
+ - name : Install symfony/flex
35
+ run : composer global require --no-progress --no-scripts --no-plugins symfony/flex
36
+
37
+ - name : Composer update on php ${{ matrix.php }} and symfony ${{ matrix.sf_version }}
38
+ run : export SYMFONY_REQUIRE=${{ matrix.sf_version }} composer update --prefer-dist --no-progress
39
+
30
40
- uses : php-actions/phpunit@v3
31
41
with :
32
42
configuration : phpunit.xml.dist
You can’t perform that action at this time.
0 commit comments