name: PHP Lint

on: [ push, pull_request ]

jobs:
  lint:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout the code
        uses: actions/checkout@v2

      - name: Check for code style violation with PHP-CS-Fixer
        uses: OskarStark/php-cs-fixer-ga@3.0.0
        with:
          args: --diff --dry-run

Add a github action to check php-cs-fixer synatx.
Add a github action to check php-cs-fixer synatx.
