phpcs-action icon indicating copy to clipboard operation
phpcs-action copied to clipboard

Getting Error

Open rst-afzal opened this issue 5 years ago • 1 comments

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

rst-afzal avatar Sep 14 '20 08:09 rst-afzal

Guess you need to define the files that should be checked in your phpcs.xml. Adding a <file>.</file>, might solve it.

sgiehl avatar Oct 26 '20 14:10 sgiehl

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.

Migration

chekalsky avatar Sep 08 '22 22:09 chekalsky