diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f78dd13..00685b8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: - php: [8.1 8.0 7.4] + php: ['8.1 8.0 7.4', '8.2'] release: [stable, lowest] services: @@ -26,16 +26,20 @@ jobs: steps: - uses: actions/checkout@v1 + - uses: actions/cache@v1 with: path: ~/.composer/cache/files key: php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} + - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} tools: pecl extensions: mbstring, dom, fileinfo, pgsql, intl coverage: ${{ matrix.coverage }} + - run: composer update --no-interaction --no-progress --no-suggest --prefer-dist --prefer-${{ matrix.release }} + - run: | vendor/bin/phpunit