S2OJ/.github/workflows/lint.yml

12 lines
345 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:
args: --config=./web/.php_cs --diff --dry-run