Skip to content

Commit 6138c31

Browse files
committed
Update GitHub Actions for Laravel 12
1 parent 30cc378 commit 6138c31

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,26 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main, 1.x, 2.x]
5+
branches:
6+
- main
7+
- 1.x
8+
- 2.x
69
pull_request:
7-
branches: [main, 1.x, 2.x]
10+
branches:
11+
- main
12+
- 1.x
13+
- 2.x
814

915
jobs:
1016
test:
1117
runs-on: ${{ matrix.os }}
18+
1219
strategy:
1320
fail-fast: true
1421
matrix:
1522
os: [ubuntu-latest, windows-latest]
1623
php: [8.2, 8.1, 8.0]
17-
laravel: [9.*, 10.*, 11.*]
24+
laravel: ['9.*', '10.*', '11.*', '12.*']
1825
stability: [prefer-lowest, prefer-stable]
1926
exclude:
2027
- php: 8.0
@@ -25,6 +32,10 @@ jobs:
2532
laravel: 11.*
2633
- php: 8.2
2734
laravel: 9.*
35+
- laravel: 12.*
36+
php: 8.1
37+
- laravel: 12.*
38+
php: 8.0
2839
include:
2940
- laravel: 9.*
3041
testbench: 7.*

0 commit comments

Comments
 (0)