diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 08adda6..3f31e84 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,17 +13,17 @@ jobs: strategy: matrix: - php-versions: ['7.2', '7.3', '7.4'] + php-versions: ['7.3', '7.4', '8.0'] runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, '[ci skip]')" steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: setup PHP - uses: shivammathur/setup-php@master + uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} extension: intl, json, mbstring, xdebug, xml @@ -33,7 +33,7 @@ jobs: run: composer validate - name: Install dependencies - run: composer install --prefer-dist --no-progress --no-suggest + run: composer install --prefer-source --no-progress --no-suggest - name: Run test suite run: composer test diff --git a/composer.json b/composer.json index c9b0042..2917565 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,8 @@ } ], "require": { - "php": "^7.2" + "php": "^7.3 || ^8.0", + "codeigniter4/framework": "^4.1" }, "autoload": { "psr-4": { @@ -20,8 +21,7 @@ } }, "require-dev": { - "codeigniter4/framework": "^4.0", - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^9.1" }, "autoload-dev": { "psr-4": { @@ -30,7 +30,7 @@ }, "extra": { "branch-alias": { - "dev-master": "2.x-dev" + "dev-master": "1.x-dev" } }, "scripts": {