4
4
push :
5
5
branches :
6
6
- main
7
-
8
7
pull_request :
9
- types : [ opened, synchronize, reopened ]
8
+ types :
9
+ - opened
10
+ - synchronize
11
+ - reopened
10
12
11
13
jobs :
12
14
test :
13
15
runs-on : ubuntu-latest
16
+
14
17
strategy :
15
18
fail-fast : false
16
19
matrix :
17
20
php : ['8.0', '8.1', '8.2', '8.3']
18
- laravel : ['8.*', '9.*', '10.*', '11.*']
21
+ laravel : ['8.*', '9.*', '10.*', '11.*', '12.*' ]
19
22
dependency-version : [prefer-lowest, prefer-stable]
20
23
include :
21
24
- laravel : 8.*
26
29
testbench : 8.*
27
30
- laravel : 11.*
28
31
testbench : 9.*
29
-
32
+ - laravel : 12.*
33
+ testbench : 10.*
30
34
exclude :
31
35
- laravel : 8.*
32
36
php : 8.1
@@ -37,21 +41,22 @@ jobs:
37
41
- laravel : 8.*
38
42
php : 8.3
39
43
dependency-version : prefer-lowest
40
-
41
44
- laravel : 9.*
42
45
php : 8.2
43
46
dependency-version : prefer-lowest
44
47
- laravel : 9.*
45
48
php : 8.3
46
49
dependency-version : prefer-lowest
47
-
48
50
- laravel : 10.*
49
51
php : 8.0
50
-
51
52
- laravel : 11.*
52
53
php : 8.0
53
54
- laravel : 11.*
54
55
php : 8.1
56
+ - laravel : 12.*
57
+ php : ' 8.0'
58
+ - laravel : 12.*
59
+ php : ' 8.1'
55
60
56
61
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
57
62
@@ -83,12 +88,12 @@ jobs:
83
88
run : vendor/bin/phpunit
84
89
85
90
- name : Install Livewire V2 (Below Laravel 11.0)
86
- if : " ! startsWith(matrix.laravel, '11.')"
91
+ if : " ! startsWith(matrix.laravel, '11.') && ! startsWith(matrix.laravel, '12.') "
87
92
run : |
88
93
composer require "livewire/livewire:^2.3.10" -W --${{ matrix.dependency-version }} --no-interaction
89
94
90
95
- name : Test with Livewire V2
91
- if : " ! startsWith(matrix.laravel, '11.')"
96
+ if : " ! startsWith(matrix.laravel, '11.') && ! startsWith(matrix.laravel, '12.') "
92
97
run : vendor/bin/phpunit
93
98
94
99
- name : Install Livewire V3 (Above Laravel 9.0)
0 commit comments