14
14
runs-on : ubuntu-latest
15
15
strategy :
16
16
matrix :
17
- php : ['7.1', '7.2', '7.4', '8.0', '8.1']
17
+ php : ['7.1', '7.2', '7.4', '8.0', '8.1', '8.2' ]
18
18
symfony : ['^3.4', '^4.0', '^5.0']
19
19
exclude :
20
20
- symfony : ^5.0
@@ -24,12 +24,14 @@ jobs:
24
24
php : 8.0
25
25
- symfony : ^6.0
26
26
php : 8.1
27
+ - symfony : ^6.0
28
+ php : 8.2
27
29
fail-fast : false
28
30
name : PHPUnit (PHP ${{ matrix.php }}) (Symfony ${{ matrix.symfony }})
29
31
steps :
30
32
31
33
- name : Checkout code
32
- uses : actions/checkout@v2
34
+ uses : actions/checkout@v3
33
35
34
36
- name : Setup PHP
35
37
uses : shivammathur/setup-php@v2
@@ -39,10 +41,10 @@ jobs:
39
41
40
42
- name : Get Composer cache directory
41
43
id : composer-cache
42
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
44
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
43
45
44
46
- name : Cache Composer
45
- uses : actions/cache@v2
47
+ uses : actions/cache@v3
46
48
with :
47
49
path : ${{ steps.composer-cache.outputs.dir }}
48
50
key : ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }}
70
72
runs-on : ubuntu-latest
71
73
steps :
72
74
- name : Checkout code
73
- uses : actions/checkout@v2
75
+ uses : actions/checkout@v3
74
76
75
77
- name : Setup PHP
76
78
uses : shivammathur/setup-php@v2
@@ -80,10 +82,10 @@ jobs:
80
82
81
83
- name : Get Composer cache directory
82
84
id : composer-cache
83
- run : echo "::set-output name= dir:: $(composer config cache-files-dir)"
85
+ run : echo "dir= $(composer config cache-files-dir)" >> $GITHUB_OUTPUT
84
86
85
87
- name : Cache Composer
86
- uses : actions/cache@v2
88
+ uses : actions/cache@v3
87
89
with :
88
90
path : ${{ steps.composer-cache.outputs.dir }}
89
91
key : ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }}
0 commit comments