Skip to content

Commit 86de6d1

Browse files
committed
Update GitHub Actions for Laravel 11
1 parent 7b74972 commit 86de6d1

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
test:
79
runs-on: ${{ matrix.os }}
10+
811
strategy:
912
fail-fast: false
1013
matrix:
1114
os: [ubuntu-latest]
1215
php: [8.2, 8.1, 8.0]
13-
laravel: [10.*, 9.*, 8.*]
16+
laravel: ['8.*', '9.*', '10.*', '11.*']
1417
stability: [prefer-lowest, prefer-stable]
1518
include:
1619
- laravel: 10.*
@@ -19,9 +22,15 @@ jobs:
1922
testbench: 7.*
2023
- laravel: 8.*
2124
testbench: ^6.23
25+
- laravel: 11.*
26+
testbench: 9.*
2227
exclude:
2328
- laravel: 10.*
2429
php: 8.0
30+
- laravel: 11.*
31+
php: 8.1
32+
- laravel: 11.*
33+
php: 8.0
2534

2635
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2736

@@ -45,4 +54,3 @@ jobs:
4554
run: |
4655
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4756
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
48-

0 commit comments

Comments
 (0)