Skip to content

Commit

Permalink
Support Laravel 12 (#466)
Browse files Browse the repository at this point in the history
* Support Laravel 12

* Update run-tests.yml
  • Loading branch information
barryvdh authored Feb 25, 2025
1 parent d46d2d3 commit 5be9386
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ on:
pull_request:
branches:
- "*"
schedule:
- cron: '0 0 * * *'

jobs:
php-tests:
Expand All @@ -19,12 +17,14 @@ jobs:

strategy:
matrix:
php: [8.3, 8.2, 8.1]
laravel: [11.*, 10.*, 9.*]
php: [8.4, 8.3, 8.2, 8.1]
laravel: [12.*, 11.*, 10.*, 9.*]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- laravel: 11.*
php: 8.1
- laravel: 12.*
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
}
],
"require": {
"php": ">=7.2",
"illuminate/support": "^9|^10|^11",
"illuminate/translation": "^9|^10|^11",
"php": "^8.1",
"illuminate/support": "^9|^10|^11|^12",
"illuminate/translation": "^9|^10|^11|^12",
"symfony/finder": "^6|^7"
},
"require-dev": {
"orchestra/testbench": "^7|^8|^9"
"orchestra/testbench": "^7|^8|^9|^10"
},
"suggest": {
"tanmuhittin/laravel-google-translate": "If you want to translate using Google API"
Expand Down

0 comments on commit 5be9386

Please sign in to comment.