Skip to content

Commit b437549

Browse files
committed
Update GitHub Actions for Laravel 11
1 parent f68ee18 commit b437549

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Run tests
22

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

57
jobs:
68
php-tests:
@@ -9,21 +11,20 @@ jobs:
911
strategy:
1012
fail-fast: false
1113
matrix:
12-
php:
13-
- '8.1'
14-
- '8.0'
15-
laravel:
16-
- '8.*'
17-
testbench:
18-
- '6.*'
19-
dependency-version:
20-
- 'prefer-stable'
21-
14+
php: ['8.0', '8.1', '8.2']
15+
laravel: ['8.*', '11.*']
16+
testbench: ['6.*', '9.*']
17+
dependency-version: [prefer-stable]
2218
include:
23-
- laravel: '8.*'
24-
testbench: '6.*'
25-
26-
19+
- laravel: 8.*
20+
testbench: 6.*
21+
- laravel: 11.*
22+
testbench: 9.*
23+
exclude:
24+
- laravel: 11.*
25+
php: '8.0'
26+
- laravel: 11.*
27+
php: '8.1'
2728

2829
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ubuntu-latest
2930

@@ -44,4 +45,4 @@ jobs:
4445
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4546
4647
- name: Execute tests
47-
run: vendor/bin/pest tests
48+
run: vendor/bin/pest tests

0 commit comments

Comments
 (0)