Add php-cs check action

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2020-04-14 17:44:08 +02:00
parent d7a74d0e35
commit c9980ed099
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
1 changed files with 16 additions and 0 deletions

View File

@ -18,3 +18,19 @@ jobs:
coverage: none
- name: Lint
run: composer run lint
php-cs-fixer:
name: php-cs check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up php
uses: shivammathur/setup-php@master
with:
php-version: 7.4
coverage: none
- name: Install dependencies
run: composer i
- name: Run coding standards check
run: composer run cs:check