Skip to content

Use only one goal in Makefile (#402) #99

Use only one goal in Makefile (#402)

Use only one goal in Makefile (#402) #99

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
push:
branches: ['master']
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
- 'psalm.xml'
name: Composer dependency analyzer
jobs:
analyzer:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
php:
- "8.2"
- "8.3"
- "8.4"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php }}
tools: composer:v2, cs2pr
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: Run composer dependency analyzer
run: vendor/bin/composer-dependency-analyser --config=composer-dependency-analyser.php