From 1558bacba641bf494bf4c353b920cda4ed1ca1c6 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 20 Nov 2024 13:36:21 +0800 Subject: [PATCH 1/2] [2.x] Supports PHP 8.4 --- .github/workflows/tests.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8cb4b6f2..a021c3b8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,17 +12,19 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] + php: [8.1, 8.2, 8.3, 8.4] laravel: [10, 11] stability: ["prefer-lowest", "prefer-stable"] exclude: + - php: 8.4 + laravel: 10 - php: 8.1 laravel: 11 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} (w/ ${{ matrix.stability }}) steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -34,7 +36,7 @@ jobs: coverage: none - name: Set Minimum PHP 8.1 Versions - uses: nick-invision/retry@v1 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 @@ -44,7 +46,7 @@ jobs: if: matrix.php >= 8.1 && matrix.stability == 'prefer-lowest' - name: Set Minimum PHP 8.2 Versions - uses: nick-invision/retry@v1 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 @@ -53,7 +55,7 @@ jobs: if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' - name: Set Minimum PHP 8.2 Versions and Laravel > 11 - uses: nick-invision/retry@v1 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 @@ -62,14 +64,14 @@ jobs: if: matrix.php >= 8.2 && matrix.stability == 'prefer-lowest' && matrix.laravel >= 11 - name: Set Laravel version - uses: nick-invision/retry@v1 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 command: composer require "laravel/framework=^${{ matrix.laravel }}" --no-interaction --no-update - name: Install dependencies - uses: nick-invision/retry@v1 + uses: nick-fields/retry@v3 with: timeout_minutes: 5 max_attempts: 5 From 7ee78a9e933f651318c73b61f467a215636ede9a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 20 Nov 2024 13:47:57 +0800 Subject: [PATCH 2/2] wip --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1e7ca01b..915d319d 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ }, "require-dev": { "roave/security-advisories": "dev-master", - "orchestra/testbench": "^8.0|^9.0", + "orchestra/testbench": "^8.0|^9.2", "mockery/mockery": "^1.3.3", "phpunit/phpunit": "^10.4|^11.0", "laravel/pint": "^1.16"