S2OJ/.github/workflows/lint.yml
2020-07-02 23:12:06 +08:00

12 lines
345 B
YAML

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