From c3f89eef3e6c3e6b4f46321211543acc99f5134f Mon Sep 17 00:00:00 2001 From: Tim MacDonald Date: Thu, 17 Feb 2022 20:49:29 +1100 Subject: [PATCH] use php 8.1 in linting workflow --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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