Update dependency phpunit/phpunit to v11 #2246
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Require Checker | |
on: [ push, pull_request ] | |
jobs: | |
composer-require-checker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP with composer require checker | |
uses: shivammathur/[email protected] | |
with: | |
php-version: 8.3 | |
tools: composer-require-checker | |
- name: Cache composer dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.cache/composer | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Install dependencies | |
run: composer install --no-interaction | |
- name: Run composer require checker | |
run: composer-require-checker check |