diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index feae3f2..1d4e25d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' coverage: pcov - name: Cache dependencies @@ -83,11 +83,12 @@ jobs: - name: Install dependencies run: | - composer update --${{ matrix.dependency-version }} --no-suggest --no-interaction --verbose + composer update --${{ matrix.dependency-version }} --no-suggest --no-interaction --verbose --no-scripts + composer require phpunit/phpunit --no-scripts - name: Support prefer-lowest in PHP 8.1 if: ${{ matrix.php == 8.1 && matrix.dependency-version == 'prefer-lowest' }} - run: composer require symfony/console:">=5.3.7" symfony/http-foundation:">=5.3.7" laravel/framework:">=8.62.0" nesbot/carbon:">=2.51.0" ramsey/collection:">=1.2.0" --prefer-lowest --with-all-dependencies + run: composer require symfony/console:">=5.3.7" symfony/http-foundation:">=5.3.7" laravel/framework:">=8.62.0" nesbot/carbon:">=2.51.0" ramsey/collection:">=1.2.0" --prefer-lowest --with-all-dependencies --no-scripts - name: Check platform requirements run: composer check-platform-reqs --verbose