Skip to content

Add CI job to validate composer files #92

Add CI job to validate composer files

Add CI job to validate composer files #92

Workflow file for this run

---
name: Code tests
on:
- push
- pull_request
jobs:
composer-validation:
runs-on: ubuntu-latest
steps:
- name: Validate composer.json and composer.lock
run: composer validate --strict
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- '8.1'
- '8.2'
- '8.3'
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: xml
- name: Run syntax check
run: ./scripts/cibuild.sh