diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2a8f2e3..f727f01 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,17 +1,28 @@ name: Tests -on: [push] + +on: + - push + jobs: run: runs-on: ubuntu-latest + strategy: matrix: php: ['8.1', '8.2'] - laravel: [10.*] + laravel: ['10.*', '11.*'] dependency-version: [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 }} + steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/composer.json b/composer.json index 966e629..bd83882 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ "ext-json": "*", "ext-zip": "*", "guzzlehttp/guzzle": "^7.5.0", - "illuminate/support": "^10", - "league/uri": "~6.7 || ~6.8", + "illuminate/support": "^10 || ^11.0", + "league/uri": "~6.7 || ~6.8 || ^7.4", "phpstan/extension-installer": "^1.2", "phpstan/phpstan-phpunit": "^1.2" }, @@ -38,8 +38,8 @@ "dg/bypass-finals": "^1.4", "mikey179/vfsstream": "^1.6", "mockery/mockery": "^1.5", - "orchestra/testbench": "^8.1", - "phpunit/phpunit": "^9.5.26" + "orchestra/testbench": "^8.1 || ^9.0", + "phpunit/phpunit": "^9.5.26 || ^10.5" }, "minimum-stability": "dev", "prefer-stable": true,