Skip to content

Commit

Permalink
use php 8.1 in linting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Feb 17, 2022
1 parent 85e7da0 commit c3f89ee
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c3f89ee

Please sign in to comment.