From b7d24cbc63c62ee60b7b043130102e33165ee2ca Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 17 Feb 2025 03:08:41 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 095885a0..77b94cf4 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,10 @@ { "name": "laravel/breeze", "description": "Minimal Laravel authentication scaffolding with Blade and Tailwind.", - "keywords": ["laravel", "auth"], + "keywords": [ + "laravel", + "auth" + ], "license": "MIT", "support": { "issues": "https://github.com/laravel/breeze/issues", @@ -15,14 +18,14 @@ ], "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", + "laravel/framework": "^11.0|^12.0", "orchestra/testbench-core": "^9.0", "phpstan/phpstan": "^2.0" }, From fefe83cd341ab68ab3997edfb8ee044a4f77eea9 Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 17 Feb 2025 03:08:41 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/tests.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b5a62a4b..574430f0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,7 +4,7 @@ on: push: branches: - master - - '*.x' + - *.x pull_request: schedule: - cron: '0 0 * * *' @@ -17,8 +17,8 @@ jobs: fail-fast: true matrix: stack: [blade, livewire, livewire-functional, react, vue, api] - laravel: [11] - args: ["", --pest] + laravel: [11, '12'] + args: ['', '--pest'] include: - stack: vue args: --ssr --typescript @@ -48,7 +48,7 @@ jobs: - name: Checkout code uses: actions/checkout@v4 with: - path: 'breeze' + path: breeze - name: Install Breeze run: | @@ -56,15 +56,15 @@ jobs: php artisan breeze:install ${{ matrix.stack }} ${{ matrix.args }} - name: Install NPM dependencies - if: matrix.stack != 'api' + if: "matrix.stack != 'api'" run: npm i - name: Compile assets - if: matrix.stack != 'api' + if: "matrix.stack != 'api'" run: npm run build - name: Execute tests run: ${{ matrix.args == '--pest' && 'vendor/bin/pest' || 'vendor/bin/phpunit' }} env: DB_CONNECTION: sqlite - DB_DATABASE: ":memory:" + DB_DATABASE: :memory: