diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2897db0..6ada769 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,12 @@ jobs: - name: Validate composer.json and composer.lock run: composer validate --strict + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-version }} + extensions: mbstring, intl, pdo_${{ matrix.db-type }} + - name: Cache Composer packages id: composer-cache uses: actions/cache@v2 @@ -88,7 +94,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.0' coverage: none tools: cs2pr diff --git a/composer.json b/composer.json index d691fc5..6f22255 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ }, "require-dev": { "cakephp/cakephp-codesniffer": "^4.0", - "phpunit/phpunit": "^8.5|^9.0" + "phpunit/phpunit": "^8.5.14|^9.0" }, "autoload": { "psr-4": {