diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index c75219b..9e84c76 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,25 +16,9 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.0, 8.1, 8.2] - laravel: ['8.*', '9.*', '10.*', '11.*'] + php: [8.2] + laravel: ['10.*', '11.*'] stability: [prefer-stable] - include: - - laravel: 10.* - testbench: 8.* - - laravel: 9.* - testbench: 7.* - - laravel: 8.* - testbench: ^6.23 - - laravel: 11.* - testbench: 9.* - exclude: - - laravel: 10.* - php: 8.0 - - laravel: 11.* - php: 8.0 - - laravel: 11.* - php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -56,7 +40,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests diff --git a/composer.json b/composer.json index 721541d..6670ad9 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,15 @@ } ], "require": { - "php": "^8.0", - "spatie/laravel-package-tools": "^1.4.3", - "illuminate/contracts": "^8.38|^9.0|^10.0|^11.0" + "php": "^8.2", + "illuminate/contracts": "^10.0|^11.0", + "nesbot/carbon": "^2.72|^3.0", + "spatie/laravel-package-tools": "^1.4.3" }, "require-dev": { - "nunomaduro/collision": "^5.3|^6.0|^8.0", - "orchestra/testbench": "^6.23|^7.0|^8.0|^9.0", - "phpunit/phpunit": "^9.5|^10.5", + "nunomaduro/collision": "^7.0|^8.0", + "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^10.5", "spatie/laravel-ray": "^1.28" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 94c0e39..e132a58 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,16 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + ./src + +