Skip to content

Merge pull request #834 from Aerendir/dependabot/composer/dev/phpstan… #1903

Merge pull request #834 from Aerendir/dependabot/composer/dev/phpstan…

Merge pull request #834 from Aerendir/dependabot/composer/dev/phpstan… #1903

Workflow file for this run

name: Composer
on: [ push ]
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
# The concurrency group contains the workflow name and the branch name.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
composer:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
php: [ '8.0', '8.1' ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
coverage: none # disable xdebug, pcov
tools: symfony
extensions: ast
- name: Install Composer deps
uses: ramsey/composer-install@v2
with:
composer-options: --no-scripts
- name: Run Composer
run: |
symfony security:check
composer validate --strict --no-check-lock