.github/workflows/check-php-syntax-errors.yml
name: PHP syntax
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Checking PHP syntax error
uses: overtrue/phplint@master
with:
path: .
options: --exclude=*.log