9
9
strategy :
10
10
fail-fast : true
11
11
matrix :
12
- php : [7.3, 7.4, 8.0, 8.1, 8.2]
13
- laravel : [7.*, 8.*, 9.*, 10.*]
12
+ php : [7.3, 7.4, 8.0, 8.1, 8.2, 8.3 ]
13
+ laravel : [7.*, 8.*, 9.*, 10.*, 11.* ]
14
14
stability : [prefer-lowest, prefer-stable]
15
15
include :
16
16
- laravel : 7.*
@@ -21,13 +21,19 @@ jobs:
21
21
testbench : 7.*
22
22
- laravel : 10.*
23
23
testbench : 8.*
24
+ - laravel : 11.*
25
+ testbench : 9.*
24
26
exclude :
25
27
- laravel : 7.*
26
28
php : 8.1
27
29
- laravel : 7.*
28
30
php : 8.2
31
+ - laravel : 7.*
32
+ php : 8.3
29
33
- laravel : 8.*
30
34
php : 8.2
35
+ - laravel : 8.*
36
+ php : 8.3
31
37
- laravel : 9.*
32
38
php : 7.3
33
39
- laravel : 9.*
@@ -38,18 +44,26 @@ jobs:
38
44
php : 7.4
39
45
- laravel : 10.*
40
46
php : 8.0
47
+ - laravel : 11.*
48
+ php : 7.3
49
+ - laravel : 11.*
50
+ php : 7.4
51
+ - laravel : 11.*
52
+ php : 8.0
53
+ - laravel : 11.*
54
+ php : 8.1
41
55
42
56
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
43
57
44
58
steps :
45
59
- name : Checkout code
46
- uses : actions/checkout@v3
60
+ uses : actions/checkout@v4
47
61
with :
48
62
ref : ${{ github.event.pull_request.head.sha }}
49
63
fetch-depth : 0
50
64
51
65
- name : Cache dependencies
52
- uses : actions/cache@v3
66
+ uses : actions/cache@v4
53
67
with :
54
68
path : ~/.composer/cache/files
55
69
key : dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
72
86
73
87
# Upload coverage only for latest versions.
74
88
- name : Upload coverage to scrutinizer-ci
75
- if : matrix.php == '8.2 ' && matrix.laravel == '10 .*' && matrix.stability == 'prefer-stable'
89
+ if : matrix.php == '8.3 ' && matrix.laravel == '11 .*' && matrix.stability == 'prefer-stable'
76
90
run : |
77
91
vendor/bin/phpunit --testsuite Laravel --coverage-clover=coverage.clover
78
92
vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
0 commit comments