Skip to content

Commit

Permalink
Supports Laravel 12 (#451)
Browse files Browse the repository at this point in the history
* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

Signed-off-by: Mior Muhammad Zaki <[email protected]>

* wip

* wip

* wip

* wip

* wip

---------

Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone authored Feb 19, 2025
1 parent da1a623 commit 1d85805
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
- develop
- '*.x'
pull_request:
schedule:
Expand All @@ -17,7 +18,7 @@ jobs:
fail-fast: true
matrix:
stack: [blade, livewire, livewire-functional, react, vue, api]
laravel: [11]
laravel: [11, 12]
args: ["", --pest]
include:
- stack: vue
Expand All @@ -26,6 +27,12 @@ jobs:
- stack: react
args: --ssr --typescript
laravel: 11
- stack: vue
args: --ssr --typescript
laravel: 12
- stack: react
args: --ssr --typescript
laravel: 12

name: Test Stubs - Laravel ${{ matrix.laravel }} - ${{ matrix.stack }} ${{ matrix.args }}

Expand All @@ -44,6 +51,14 @@ jobs:
composer create-project laravel/laravel:^${{ matrix.laravel }} .
composer require laravel/breeze:@dev --no-interaction --no-update
composer config repositories.breeze '{"type": "path", "url": "breeze"}' --file composer.json
if: matrix.laravel < 12

- name: Setup Laravel (dev-master)
run: |
composer create-project laravel/laravel:dev-master .
composer require laravel/breeze:@dev --no-interaction --no-update
composer config repositories.breeze '{"type": "path", "url": "breeze"}' --file composer.json
if: matrix.laravel == 12

- name: Checkout code
uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
],
"require": {
"php": "^8.2.0",
"illuminate/console": "^11.0",
"illuminate/filesystem": "^11.0",
"illuminate/support": "^11.0",
"illuminate/validation": "^11.0",
"illuminate/console": "^11.0|^12.0",
"illuminate/filesystem": "^11.0|^12.0",
"illuminate/support": "^11.0|^12.0",
"illuminate/validation": "^11.0|^12.0",
"symfony/console": "^7.0"
},
"require-dev": {
"laravel/framework": "^11.0",
"orchestra/testbench-core": "^9.0",
"laravel/framework": "^11.0|^12.0",
"orchestra/testbench-core": "^9.0|^10.0",
"phpstan/phpstan": "^2.0"
},
"autoload": {
Expand Down

0 comments on commit 1d85805

Please sign in to comment.