Run PHP Lint in Github Actions
name: CI
on: [push]
jobs:
phplint:
runs-on: ubuntu-latest
name: PHP Lint
steps:
- uses: actions/checkout@v2
- id: PHP-Lint
uses: J3-Tech/PHP-Lint-Action@v0.0.5
with:
path: .
exclude: vendor
The following configuration options are available:
path
- A php source code filename or directory. Can be a comma-separated stringexclude
- comma-separated string of patterns that are used to ignore directories.