diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 26c9615..ad5c968 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,25 +9,17 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [7.4, 7.3, 7.2] + php: [8.0, 7.4, 7.3, 7.2] dependency-version: [prefer-lowest, prefer-stable] - include: - - testbench: 5.* name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v1 - - - name: Cache dependencies - uses: actions/cache@v1 - with: - path: ~/.composer/cache/files - key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} + uses: actions/checkout@v2 - name: Setup PHP - uses: shivammathur/setup-php@v1 + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick diff --git a/composer.json b/composer.json index 5c3dee1..20e3dc2 100644 --- a/composer.json +++ b/composer.json @@ -16,11 +16,10 @@ } ], "require": { - "php": "^7.2" + "php": "^7.2|^8.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^2.16", - "orchestra/testbench": "5.*", "phpunit/phpunit": "^9.0" }, "autoload": {