diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9fb50e4..74a9ecd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,30 +13,30 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: [8.1, 8.0, 7.4] - laravel: [9.*, 8.*, 7.*] + php: [8.3, 8.2, 8.1] + laravel: [11.*, 10.*, 9.*] dependency-version: [prefer-stable] include: + - laravel: 11.* + testbench: 9.* + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* - - laravel: 8.* - testbench: 6.* - - laravel: 7.* - testbench: 5.* exclude: - - laravel: 9.* - php: 7.4 - - laravel: 7.* + - laravel: 11.* php: 8.1 + - laravel: 9.* + php: 8.3 name: ${{ matrix.os }} - P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.composer/cache/files key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} diff --git a/composer.json b/composer.json index b918a35..83ff5dc 100644 --- a/composer.json +++ b/composer.json @@ -20,12 +20,12 @@ "require": { "php": ">=7.4", "ezyang/htmlpurifier": "^4.17", - "illuminate/contracts": "~7.0|~8.0|~9.0|~10.0", - "illuminate/support": "~7.0|~8.0|~9.0|~10.0" + "illuminate/contracts": "^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "phpunit/phpunit": "~8.0|~9.0", - "orchestra/testbench": "~5.0|~6.0|~7.0" + "phpunit/phpunit": "^8.0|^9.0|^10.0", + "orchestra/testbench": "^5.0|^6.0|^7.0|^8.0|^9.0" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/phpunit.xml b/phpunit.xml index d1748b9..f900ff6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,17 +1,8 @@ - - - - ./tests/ - - + + + + ./tests/ + +