Skip to content

Commit 2fbe826

Browse files
committed
Update GitHub Actions for Laravel 11
1 parent 4f81247 commit 2fbe826

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: test
22

3-
on: [push]
3+
on:
4+
- push
45

56
jobs:
67
test:
78
runs-on: ${{ matrix.os }}
9+
810
strategy:
911
fail-fast: false
1012
matrix:
1113
os: [ubuntu-latest]
1214
php: [8.2]
13-
laravel: [10.*]
15+
laravel: ['10.*', '11.*']
1416
stability: [prefer-lowest, prefer-stable]
1517

1618
name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
@@ -28,5 +30,6 @@ jobs:
2830
run: |
2931
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
3032
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
33+
3134
- name: Execute tests
32-
run: vendor/bin/phpunit
35+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)