Skip to content

Remove "composer:v2" from CI (#4) #7

Remove "composer:v2" from CI (#4)

Remove "composer:v2" from CI (#4) #7

name: Composer require checker
on:
pull_request:
push:
branches:
- master
jobs:
composer-require-checker:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
php:
- 8.2
- 8.3
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: Check dependencies
run: vendor/bin/composer-require-checker