Skip to content

Releases: J3-Tech/PHP-Lint-Action

PHPLint

29 Mar 12:09
06cd959
Compare
Choose a tag to compare

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/PHP-Lint-Action@v0.0.5
      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.