diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9eba685..e6a6989 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,21 +1,29 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: matrix: - php: ["8.1", "8.2"] - laravel: [9.*, 10.*] + php: ['8.1', '8.2'] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: ^7.6 - laravel: 10.* testbench: ^8.0 + - laravel: 11.* + testbench: ^9.0 os: [ubuntu-latest] + exclude: + - laravel: 11.* + php: '8.1' name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 1c7b0aa..81d71f4 100644 --- a/composer.json +++ b/composer.json @@ -12,19 +12,19 @@ "require": { "php": "^8.1", "facade/ignition-contracts": "^1.0", - "laravel/framework": "^9.0 || ^10.0" + "laravel/framework": "^9.0 || ^10.0 || ^11.0" }, "require-dev": { "ergebnis/composer-normalize": "^2.15", "ergebnis/php-cs-fixer-config": "^5.0", "mockery/mockery": "^1.5.1", - "nunomaduro/collision": "^6.0 || ^7.0", + "nunomaduro/collision": "^6.0 || ^7.0 || ^8.0", "nunomaduro/larastan": "^2.4", - "orchestra/testbench": "^7.0 || ^8.0", + "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", "phpstan/phpstan-mockery": "^1.1", "phpunit/phpunit": "^9.5.8 || ^10.0", "roave/security-advisories": "dev-latest", - "spatie/phpunit-snapshot-assertions": "^4.2" + "spatie/phpunit-snapshot-assertions": "^4.2 || ^5.1" }, "minimum-stability": "dev", "prefer-stable": true,