Skip to content

Commit 633a1a5

Browse files
authored
Merge pull request #172 from laravel-shift/l11-compatibility
Laravel 11.x Compatibility
2 parents b5b978c + b437549 commit 633a1a5

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
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

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
"require": {
2828
"php": "^8.0",
2929
"guzzlehttp/guzzle": "^7.0.1",
30-
"illuminate/support": "^8.0|^9.0|^10.0"
30+
"illuminate/support": "^8.0|^9.0|^10.0|^11.0"
3131
},
3232
"require-dev": {
33-
"orchestra/testbench": "^6.0|^8.0",
34-
"pestphp/pest": "^1.22",
35-
"pestphp/pest-plugin-laravel": "^1.3",
36-
"phpunit/phpunit": "^9.0"
33+
"orchestra/testbench": "^6.0|^8.0|^9.0",
34+
"pestphp/pest": "^1.22|^2.34",
35+
"pestphp/pest-plugin-laravel": "^1.3|^2.3",
36+
"phpunit/phpunit": "^9.0|^10.5"
3737
},
3838
"autoload": {
3939
"psr-4": {

0 commit comments

Comments
 (0)