From a811920077302a47390a926713c4819dbdb173a2 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 21:02:46 +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 ea32f95..ed48027 100644 --- a/composer.json +++ b/composer.json @@ -11,15 +11,15 @@ ], "require": { "php": "^8.1", - "illuminate/filesystem": "^8|^9|^10|^11", - "illuminate/console": "^8|^9|^10|^11", - "illuminate/support": "^8|^9|^10|^11", + "illuminate/filesystem": "^8|^9|^10|^11|^12.0", + "illuminate/console": "^8|^9|^10|^11|^12.0", + "illuminate/support": "^8|^9|^10|^11|^12.0", "maennchen/zipstream-php": "^3.1", "guzzlehttp/guzzle": "^6.5.8|^7.2", "aws/aws-sdk-php": "^3.216.1" }, "require-dev": { - "orchestra/testbench": "^5|^6|^7|^8|^9", + "orchestra/testbench": "^5|^6|^7|^8|^9|^10.0", "mockery/mockery": "^1.3.3", "phpunit/phpunit": ">=8.5.23|^9|^10" }, From 76667c92c9117bd8fbac4bb04cb46d89ee23eb78 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 18 Feb 2025 21:02:46 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/tests.yml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7cdd482..a5fd5f6 100755 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,20 +4,23 @@ on: push: branches: - main - pull_request: - types: [ opened, synchronize, reopened ] + types: + - opened + - synchronize + - reopened jobs: test: runs-on: ubuntu-latest + strategy: fail-fast: false matrix: - php: ['8.1', '8.2', '8.3' ] - laravel: [ '8.*', '9.*', '10.*', '11.*' ] - guzzle: [ '6.*', '7.*' ] - dependency-version: [ prefer-lowest, prefer-stable ] + php: ['8.1', '8.2', '8.3'] + laravel: ['8.*', '9.*', '10.*', '11.*', '12.*'] + guzzle: ['6.*', '7.*'] + dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 8.* testbench: 6.* @@ -27,7 +30,8 @@ jobs: testbench: 8.* - laravel: 11.* testbench: 9.* - + - laravel: 12.* + testbench: 10.* exclude: - laravel: 8.* php: 8.1 @@ -38,24 +42,22 @@ jobs: - laravel: 8.* php: 8.3 dependency-version: prefer-lowest - - laravel: 9.* php: 8.2 dependency-version: prefer-lowest - laravel: 9.* php: 8.3 dependency-version: prefer-lowest - - laravel: 11.* php: 8.1 - - # Guzzle restrictions - laravel: 9.* guzzle: 6.* - laravel: 10.* guzzle: 6.* - laravel: 11.* guzzle: 6.* + - laravel: 12.* + php: '8.1' name: P${{ matrix.php }} / L${{ matrix.laravel }} / G${{ matrix.guzzle }} / ${{ matrix.dependency-version }}