From 016276aa0fe2a142dbd9b3fb17e53cfd6d7a447a Mon Sep 17 00:00:00 2001 From: Caleb White Date: Thu, 20 Feb 2025 05:33:32 -0600 Subject: [PATCH] deps: support laravel 12.x --- .github/workflows/tests.yml | 6 +++--- composer.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 666ffc2..30f4917 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] + php: [8.2, 8.3, 8.4] livewire: [3.*] name: PHP${{ matrix.php }} - Livewire${{ matrix.livewire }} runs-on: ubuntu-latest @@ -41,8 +41,8 @@ jobs: uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} - key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - restore-keys: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer- + key: dependencies-livewire-${{ matrix.livewire }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} + restore-keys: dependencies-livewire-${{ matrix.livewire }}-php-${{ matrix.php }}-composer- - name: Install dependencies from composer.json run: composer update --with='livewire/livewire:${{ matrix.livewire }}' --no-interaction --no-progress diff --git a/composer.json b/composer.json index ad95d0d..0901128 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ ], "require": { "php": "^8.1", - "illuminate/support": "^10.0 || ^11.0", + "illuminate/support": "^10.0 || ^11.0 || ^12.0", "livewire/livewire": "^3.3", "phpstan/phpstan": "^2.0" }, "require-dev": { - "phpunit/phpunit": "^10.5" + "phpunit/phpunit": "^11.5" }, "autoload": { "psr-4": {