Skip to content

Commit 6bd7e3a

Browse files
committed
Update GitHub Actions for Laravel 13
1 parent f3737e0 commit 6bd7e3a

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,24 @@ jobs:
1717
fail-fast: true
1818
matrix:
1919
php: ['8.4', '8.3', '8.2']
20-
laravel: ['10.*', '11.*', '12.*']
20+
laravel: ['10.*', '11.*', '12.*', '13.*']
2121
dependency-version: [prefer-stable]
2222
exclude:
2323
- php: 8.4
2424
laravel: 10.*
2525
- php: 8.4
2626
laravel: 11.*
27+
- laravel: 13.*
28+
php: '8.2'
2729
include:
2830
- laravel: 10.*
2931
testbench: 8.*
3032
- laravel: 11.*
3133
testbench: 9.*
3234
- laravel: 12.*
3335
testbench: 10.*
36+
- laravel: 13.*
37+
testbench: 11.*
3438

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

@@ -50,9 +54,9 @@ jobs:
5054

5155
- name: Install dependencies
5256
run: |
53-
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
54-
if [[ "${{ matrix.laravel }}" == "10.*" ]]; then composer require "doctrine/dbal:^3.3" --no-interaction --no-update; fi
55-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
57+
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
58+
if [[ "${{ matrix.laravel }}" == "10.*" ]]; then composer require "doctrine/dbal:^3.3" --no-interaction --no-update; fi
59+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
5660
5761
- name: Execute tests
58-
run: vendor/bin/phpunit
62+
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)