diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b6e73ab..c0af0c1 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,19 +1,27 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ubuntu-latest + strategy: fail-fast: true matrix: php: [8.3, 8.2, 8.1] - laravel: [10.*] + laravel: ['10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index 6ec94d0..0830000 100755 --- a/composer.json +++ b/composer.json @@ -19,13 +19,13 @@ "require": { "php": "^8.1 || ^8.2 || ^8.3", "ext-openssl": "*", - "egulias/email-validator": "^3.1", + "egulias/email-validator": "^3.1 || ^4.0", "guzzlehttp/guzzle": "^7.2", - "illuminate/support": "^10.0", - "illuminate/validation": "^10.0" + "illuminate/support": "^10.0 || ^11.0", + "illuminate/validation": "^10.0 || ^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0 || ^9.0", "phpunit/phpunit": "^10.4" }, "autoload": { @@ -57,4 +57,4 @@ } } } -} \ No newline at end of file +}