diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f7dec5a..2e596e8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,17 +16,23 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['8.0', '8.1', '8.2', '8.3'] - laravel: ['9', '10', '11'] + php: ['8.0', '8.1', '8.2', '8.3', '8.4'] + laravel: ['9', '10', '11', '12'] exclude: - php: '8.0' laravel: '10' - php: '8.0' laravel: '11' + - php: '8.0' + laravel: '12' - php: '8.1' laravel: '11' + - php: '8.1' + laravel: '12' - php: '8.3' laravel: '9' + - php: '8.4' + laravel: '9' steps: - name: Checkout Code uses: actions/checkout@v4 @@ -67,6 +73,14 @@ jobs: command: composer require "laravel/framework:11.*" "phpunit/phpunit:^10.5" --no-update --no-interaction if: "matrix.laravel == '11'" + - name: Select Laravel 12 + uses: nick-invision/retry@v3 + with: + timeout_minutes: 5 + max_attempts: 5 + command: composer require "laravel/framework:12.*" "phpunit/phpunit:^11.5" --no-update --no-interaction + if: "matrix.laravel == '12'" + - name: Install PHP Dependencies uses: nick-invision/retry@v3 with: diff --git a/composer.json b/composer.json index b960735..5ec1625 100644 --- a/composer.json +++ b/composer.json @@ -21,11 +21,11 @@ "require": { "php": "^8.0", "guzzlehttp/guzzle": "^7.9", - "illuminate/contracts": "^9.0 || ^10.0 || ^11.0", - "illuminate/support": "^9.0 || ^10.0 || ^11.0" + "illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0" }, "require-dev": { - "phpunit/phpunit": "^9.6.17 || ^10.5.13", + "phpunit/phpunit": "^9.6.17 || ^10.5.13 || ^11.5.10", "friendsofphp/php-cs-fixer": "^3.62", "graham-campbell/testbench": "^6.1" },