Merge pull request #3085 from stof/clean_user_provider #200
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: Code style and composer validate | |
on: | |
pull_request: | |
push: | |
branches: [ master, 2.x, 3.x ] | |
jobs: | |
composer-validate: | |
name: Validate composer.json | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Validate | |
run: composer validate --no-check-lock --strict | |
php-cs-fixer: | |
name: PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
- name: Install dependencies | |
run: composer install | |
- name: Run script | |
run: vendor/bin/php-cs-fixer fix --verbose --diff --dry-run |