Skip to content

Commit 6dc24e6

Browse files
committed
Update GitHub Actions for Laravel 12
1 parent d0811bf commit 6dc24e6

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@ on:
44
push:
55
branches:
66
- main
7-
87
pull_request:
9-
types: [ opened, synchronize, reopened ]
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
1012

1113
jobs:
1214
test:
1315
runs-on: ubuntu-latest
16+
1417
strategy:
1518
fail-fast: false
1619
matrix:
1720
php: ['8.0', '8.1', '8.2', '8.3']
18-
laravel: ['8.*', '9.*', '10.*', '11.*']
21+
laravel: ['8.*', '9.*', '10.*', '11.*', '12.*']
1922
dependency-version: [prefer-lowest, prefer-stable]
2023
include:
2124
- laravel: 8.*
@@ -26,7 +29,8 @@ jobs:
2629
testbench: 8.*
2730
- laravel: 11.*
2831
testbench: 9.*
29-
32+
- laravel: 12.*
33+
testbench: 10.*
3034
exclude:
3135
- laravel: 8.*
3236
php: 8.1
@@ -37,21 +41,22 @@ jobs:
3741
- laravel: 8.*
3842
php: 8.3
3943
dependency-version: prefer-lowest
40-
4144
- laravel: 9.*
4245
php: 8.2
4346
dependency-version: prefer-lowest
4447
- laravel: 9.*
4548
php: 8.3
4649
dependency-version: prefer-lowest
47-
4850
- laravel: 10.*
4951
php: 8.0
50-
5152
- laravel: 11.*
5253
php: 8.0
5354
- laravel: 11.*
5455
php: 8.1
56+
- laravel: 12.*
57+
php: '8.0'
58+
- laravel: 12.*
59+
php: '8.1'
5560

5661
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
5762

@@ -98,4 +103,4 @@ jobs:
98103
99104
- name: Test with Livewire V3
100105
if: "! startsWith(matrix.laravel, '8.') && ! startsWith(matrix.laravel, '9.')"
101-
run: vendor/bin/phpunit
106+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)