mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-02 20:27:45 +08:00
15 lines
363 B
YAML
15 lines
363 B
YAML
name: Linter
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
php_cs_fixer:
|
|
name: php_cs_fixer
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@master
|
|
- name: Install Dependencies
|
|
run: composer install --no-progress
|
|
- name: Run PHP-CS-Fixer
|
|
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff 1>&2
|