Merge pull request #325 from alexislefebvre/chore-merge-2.x-in-3.x #411
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QA | |
on: [push, pull_request] | |
jobs: | |
php-cs-fixer: | |
name: PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Delete composer files to avoid installing dependencies | |
run: rm -v composer.json | |
- name: PHP-CS-Fixer | |
uses: docker://jakzal/phpqa:1.96.3-php8.2-alpine | |
with: | |
args: php-cs-fixer --dry-run --diff --no-interaction --ansi fix --show-progress none | |
composer-validate: | |
name: Composer validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Composer validate | |
uses: docker://composer:2 | |
with: | |
args: composer validate --strict |