diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 00f0995..88b76d9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,15 +1,19 @@ name: tests -on: [push, pull_request] + +on: + - push + - pull_request jobs: tests: name: PHP ${{ matrix.php }} - ${{ matrix.stability }} + runs-on: ubuntu-latest strategy: fail-fast: true matrix: - php: [8.1] + php: [8.1, '8.2'] stability: [prefer-lowest, prefer-stable] steps: @@ -33,4 +37,3 @@ jobs: - name: Execute tests run: vendor/bin/phpunit --colors --verbose - diff --git a/composer.json b/composer.json index 484c9f9..3ba2452 100644 --- a/composer.json +++ b/composer.json @@ -21,11 +21,11 @@ "require": { "php": "^8.1", "chinleung/laravel-locales": "^2.0", - "illuminate/support": "^10.0" + "illuminate/support": "^10.0|^11.0" }, "require-dev": { - "orchestra/testbench": "^8.0", - "phpunit/phpunit": "^9.5.10" + "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^9.5.10|^10.5" }, "autoload": { "psr-4": {