diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6e0cd79..05a8fad 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,20 +13,25 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.0] - laravel: [9.*, 8.*] - stability: [prefer-lowest, prefer-stable] + php: [8.0, 8.1, 8.2] + laravel: [9.*, 8.*, 10.*] + stability: [prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - laravel: 8.* testbench: ^6.23 + exclude: + - laravel: 10.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/composer.json b/composer.json index 75a42ee..3919ad7 100644 --- a/composer.json +++ b/composer.json @@ -18,11 +18,11 @@ "require": { "php": "^8.0", "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^8.38|^9.0" + "illuminate/contracts": "^8.38|^9.0|^10.0" }, "require-dev": { "nunomaduro/collision": "^5.3|^6.0", - "orchestra/testbench": "^6.23|^7.0", + "orchestra/testbench": "^6.23|^7.0|^8.0", "phpunit/phpunit": "^9.5", "spatie/laravel-ray": "^1.28" }, @@ -49,7 +49,7 @@ "extra": { "laravel": { "providers": [ - "Spatie\\InteractsWithPayload\\InteractsWithPayloadServiceProvider" + "Spatie\\InteractsWithPayload\\InteractsWithPayloadServiceProvider" ], "aliases": { "AllJobs": "Spatie\\InteractsWithPayload\\Facades\\AllJobs"