From 6cdbc8772c2d3bebf00a4f5ae4269e246aac37f2 Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 16 Feb 2025 18:17:58 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 5ec9587..44d0575 100644 --- a/composer.json +++ b/composer.json @@ -24,15 +24,15 @@ }, "require": { "php": "^8.2", - "illuminate/contracts": "^11.0", - "illuminate/filesystem": "^11.0", + "illuminate/contracts": "^11.0|^12.0", + "illuminate/filesystem": "^11.0|^12.0", "symfony/http-foundation": "^7.0" }, "require-dev": { - "illuminate/container": "^11.0", + "illuminate/container": "^11.0|^12.0", "laravel/pint": "^1.14", "mockery/mockery": "^1.6.9", - "pestphp/pest": "3.x-dev", + "pestphp/pest": "3.x-dev|^3.7", "phpunit/phpunit": "^11.0", "symfony/var-dumper": "^7.0" }, From 5ca2b39cf9659ed3cbd2ac2a023657f4422391d4 Mon Sep 17 00:00:00 2001 From: Shift Date: Sun, 16 Feb 2025 18:17:58 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7de39ef..2262879 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,10 +3,10 @@ name: Tests on: push: paths-ignore: - - 'readme.md' + - readme.md pull_request: paths-ignore: - - 'readme.md' + - readme.md release: jobs: @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - laravel: [11.*] + laravel: ['11.*', '12.*'] php: [8.2, 8.3] name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }} @@ -33,8 +33,8 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" --no-interaction --no-update - composer update --prefer-stable --prefer-dist --no-interaction --no-suggest + composer require "illuminate/contracts:${{ matrix.laravel }}" "illuminate/filesystem:${{ matrix.laravel }}" "illuminate/container:${{ matrix.laravel }}" --no-interaction --no-update + composer update --prefer-stable --prefer-dist --no-interaction --no-suggest - name: Run tests run: vendor/bin/pest