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