S2OJ/.github/workflows/lint.yml

13 lines
356 B
YAML
Raw Normal View History

2020-06-25 12:47:22 +00:00
on: [push, pull_request]
name: Main
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
2021-09-09 16:10:10 +00:00
args: --config=./web/.php-cs-fixer.php --diff --dry-run