diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc9faee..8458b74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,25 @@ on: push name: CI jobs: - phpunit-php82: + pest-php81: + name: PHP 8.1 + runs-on: ubuntu-latest + container: + image: kirschbaumdevelopment/laravel-test-runner:8.1 + + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + + - name: Install composer dependencies + run: | + composer install --prefer-dist --no-interaction --no-scripts + + - name: Run Testsuite + run: composer pest + + pest-php82: name: PHP 8.2 runs-on: ubuntu-latest container: @@ -20,7 +38,7 @@ jobs: - name: Run Testsuite run: composer pest - phpunit-php83: + pest-php83: name: PHP 8.3 runs-on: ubuntu-latest container: diff --git a/composer.json b/composer.json index c89efea..0dcd52e 100644 --- a/composer.json +++ b/composer.json @@ -17,14 +17,14 @@ } ], "require": { - "php": "^8.2", - "illuminate/mail": "^11.0" + "php": "^8.1|^8.2", + "illuminate/mail": "^10.0|^11.0" }, "require-dev": { "laravel/pint": "^1.18", - "orchestra/testbench": "^9.0", - "pestphp/pest": "^3.4", - "phpunit/phpunit": "^11.0", + "orchestra/testbench": "^8.0|^9.0", + "pestphp/pest": "^2.36|^3.4", + "phpunit/phpunit": "^10.1|^11.0", "spatie/ray": "^1.41.1" }, "autoload": {