Merge pull request #309 from lightspeedwp/dependabot/npm_and_yarn/wor… #542
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |