Skip to content

Lock file maintenance #1051

Lock file maintenance

Lock file maintenance #1051

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.2
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