File tree 1 file changed +15
-5
lines changed
1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- master
8
8
- 2.x
9
+ - 3.x
9
10
10
11
jobs :
11
12
run :
18
19
- ' 8.0'
19
20
- ' 8.1'
20
21
- ' 8.2'
22
+ - ' 8.3'
21
23
symfony-versions : [false]
22
24
include :
23
25
- description : ' Symfony 4.*'
@@ -26,26 +28,34 @@ jobs:
26
28
- description : ' Symfony 5.*'
27
29
php : ' 8.1'
28
30
symfony-versions : ' ^5.4'
31
+ - description : ' Symfony 6.*'
32
+ php : ' 8.2'
33
+ symfony-versions : ' ^6.4'
29
34
name : PHP ${{ matrix.php }} ${{ matrix.description }}
30
35
steps :
31
36
- name : Checkout
32
- uses : actions/checkout@v3
37
+ uses : actions/checkout@v4
33
38
34
- - uses : actions/cache@v3
39
+ - uses : actions/cache@v4
35
40
with :
36
41
path : ~/.composer/cache/files
37
- key : ${{ matrix.php }}-${{ matrix.symfony-versions }}
42
+ key : composer-${{ matrix.php }}-${{ matrix.symfony-versions }}-${{ hashFiles('composer.json') }}
43
+ restore-keys : |
44
+ composer-${{ matrix.php }}-
45
+ composer-
38
46
39
47
- name : Setup PHP
40
48
uses : shivammathur/setup-php@v2
41
49
with :
42
50
php-version : ${{ matrix.php }}
43
51
44
- - name : Install dependencies
45
- run : composer require "symfony/symfony:${{ matrix.symfony-versions }}" --no-update
52
+ - name : Install symfony/flex
53
+ run : composer config --global --no-plugins allow-plugins.symfony/flex true && composer global require symfony/flex
46
54
if : matrix.symfony-versions
47
55
48
56
- name : Install dependencies
57
+ env :
58
+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
49
59
run : composer install
50
60
51
61
- name : Install PHPUnit
You can’t perform that action at this time.
0 commit comments