From d374b9e75ec87f86b5a071c8ef418841863dd6f7 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 14:06:41 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index b544347..775d209 100644 --- a/composer.json +++ b/composer.json @@ -13,17 +13,17 @@ "require": { "php": "^7.2|^7.3|^7.4|^8.0", "guzzlehttp/guzzle": "^6.3|^7.0", - "illuminate/auth": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/contracts": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/database": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/http": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/routing": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0" + "illuminate/auth": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/contracts": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/database": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/routing": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "~5.8.0|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^4.0|^5.0|^6.0", - "laravel/passport": "^7.0|^8.0|^9.0|^10.0", - "phpunit/phpunit": "^7.0|^8.0|^9.0", + "orchestra/testbench": "^4.0|^5.0|^6.0|^9.0", + "laravel/passport": "^7.0|^8.0|^9.0|^10.0|dev-master", + "phpunit/phpunit": "^7.0|^8.0|^9.0|^10.5", "tymon/jwt-auth": "^1.0" }, "suggest": { From d66099bac9b7d667bac8f8455f23b105ee8fa616 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 14:06:42 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 7bdb09e..c7fae56 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,22 +1,32 @@ name: Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [7.4, 8.0] - laravel: [8.*, 7.*] + php: [7.4, 8.0, '8.2'] + laravel: ['7.*', '8.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 8.* testbench: 6.* - laravel: 7.* testbench: 5.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 7.4 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}