Skip to content

Commit 85735c6

Browse files
authored
Merge pull request #15 from coderflexx/l11-support
add `Laravel 11.x` support
2 parents 2e97ccd + 3d73046 commit 85735c6

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

.github/workflows/run-tests.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ name: run-tests
22

33
on:
44
push:
5-
branches: [main]
5+
branches:
6+
- main
7+
- 1.x
8+
- 2.x
69
pull_request:
7-
branches: [main]
10+
branches:
11+
- main
12+
- 1.x
13+
- 2.x
814

915
jobs:
1016
test:
@@ -13,13 +19,19 @@ jobs:
1319
fail-fast: true
1420
matrix:
1521
os: [ubuntu-latest, windows-latest]
16-
php: [8.2, 8.1]
17-
laravel: [10.*]
22+
php: [8.1, 8.2, 8.3]
23+
laravel: [10.*, 11.*]
1824
stability: [prefer-stable]
1925
include:
2026
- laravel: 10.*
2127
testbench: 8.*
2228
carbon: ^2.63
29+
- laravel: 11.*
30+
testbench: 9.*
31+
carbon: '*'
32+
exclude:
33+
- laravel: 11.*
34+
php: 8.1
2335

2436
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2537

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
],
2222
"require": {
2323
"php": "^8.1",
24-
"coderflex/laravel-turnstile": "^1.0",
25-
"illuminate/contracts": "^10.0",
24+
"coderflex/laravel-turnstile": "^1.0|^2.0",
25+
"illuminate/contracts": "^10.0|^11.0",
2626
"spatie/laravel-package-tools": "^1.14.0"
2727
},
2828
"require-dev": {
2929
"filament/filament": "^3.0",
3030
"laravel/pint": "^1.0",
31-
"nunomaduro/collision": "^7.9",
32-
"nunomaduro/larastan": "^2.0.1",
33-
"orchestra/testbench": "^8.0",
31+
"nunomaduro/collision": "^7.9|^8.1",
32+
"larastan/larastan": "^2.0.1",
33+
"orchestra/testbench": "^8.0|^9.0",
3434
"pestphp/pest": "^2.0",
3535
"pestphp/pest-plugin-arch": "^2.0",
3636
"pestphp/pest-plugin-laravel": "^2.0",

0 commit comments

Comments
 (0)