diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0cda1a5..135a11c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [7.4] + php: [8.0, 7.4] laravel: [8.*, 6.*, 7.*] dependency-version: [prefer-lowest, prefer-stable] include: @@ -26,12 +26,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - name: Cache dependencies - uses: actions/cache@v1 - with: - path: ~/.composer/cache/files - key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} - - name: Setup PHP uses: shivammathur/setup-php@v2 with: diff --git a/composer.json b/composer.json index 8d0f1a5..130bc05 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^7.2", + "php": "^7.3|^8.0", "illuminate/support": "^6.0|^7.0|^8.0", "league/iso3166": "^2.1.5" }, @@ -25,7 +25,7 @@ "laravel/legacy-factories": "^1.0.4", "myclabs/php-enum": "^1.6", "orchestra/testbench": "^4.5|^5.0|^6.0", - "phpunit/phpunit": "^8.0|^9.3", + "phpunit/phpunit": "^9.3", "spatie/enum": "^2.2" }, "autoload": {