Skip to content
Compare
Choose a tag to compare
@chellem chellem released this 29 Mar 12:09
· 1 commit to main since this release
06cd959

Run PHP Lint in Github Actions

Usage

name: CI

on: [push]

jobs:
  phplint:
    runs-on: ubuntu-latest
    name: PHP Lint
    steps:
    - uses: actions/checkout@v2
    - id: PHP-Lint
      uses: J3-Tech/[email protected]
      with:
        path: .
        exclude: vendor

Inputs

The following configuration options are available:

  • path - A php source code filename or directory. Can be a comma-separated string
  • exclude - comma-separated string of patterns that are used to ignore directories.