File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -11,34 +11,41 @@ jobs:
11
11
strategy :
12
12
fail-fast : true
13
13
matrix :
14
- php : [8.1, 8.0]
14
+ php : [8.2, 8. 1, 8.0]
15
15
laravel : [9.*, 8.*, 10.*]
16
16
stability : [prefer-lowest, prefer-stable]
17
17
include :
18
18
- laravel : 10.*
19
19
testbench : 8.*
20
20
- laravel : 9.*
21
- testbench : 7.*
21
+ testbench : ^7.19
22
22
- laravel : 8.*
23
23
testbench : ^6.23
24
+ exclude :
25
+ # Laravel 10 doesn't support PHP 8.0
26
+ - laravel : 10.*
27
+ php : 8.0
28
+ # Laravel 8 doesn't support PHP 8.2
29
+ - laravel : 8.*
30
+ php : 8.2
24
31
25
- name : P ${{ matrix.php }} - L ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
32
+ name : PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }}
26
33
27
34
steps :
28
35
- name : Checkout code
29
- uses : actions/checkout@v2
36
+ uses : actions/checkout@v3
30
37
31
38
- name : Get Composer cache directory
32
39
id : composer-cache
33
40
run : |
34
41
echo "::set-output name=dir::$(composer config cache-files-dir)"
35
42
36
- - uses : actions/cache@v2
43
+ - uses : actions/cache@v3
37
44
with :
38
45
path : ${{ steps.composer-cache.outputs.dir }}
39
- key : ${{ runner.os }}-${{ matrix.php }}-composer -${{ hashFiles('**/composer.lock') }}
46
+ key : ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }} -${{ matrix.testbench }}-${{ matrix.stability }}-composer
40
47
restore-keys : |
41
- ${{ runner.os }}-P ${{ matrix.php }}-L ${{ matrix.laravel }}-composer-
48
+ ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-${{ matrix.stability }}-composer
42
49
43
50
- name : Setup PHP
44
51
uses : shivammathur/setup-php@v2
You can’t perform that action at this time.
0 commit comments