Add PHP CS fixer check (#67)

This commit is contained in:
Farhad Safarov 2020-08-03 17:25:34 +03:00 committed by GitHub
parent 37912ba88f
commit 9e7968cb57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Lint
on:
pull_request: ~
push:
branches:
- master
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --diff --dry-run