phpcs-action
phpcs-action copied to clipboard
Getting Error
Hi,
I'm getting the following error , when the workflow executes
ERROR: You must supply at least one file or directory to process
Below is my yaml file, Am I missing anything
name: PHPCS check
on: pull_request
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: PHPCS check
uses: chekalsky/phpcs-action@v1
Guess you need to define the files that should be checked in your phpcs.xml.
Adding a <file>.</file>, might solve it.
Hey, I've decided to archive this action as there is a better alternative now available. I've created this action in the very early days of Github Actions and now it's time to go.