chekalsky / phpcs-action

Github Action helps you check your code with PHP_CodeSniffer
MIT License
55 stars 29 forks source link

Getting Error #11

Closed rst-afzal closed 2 years ago

rst-afzal commented 4 years ago

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
sgiehl commented 3 years ago

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

chekalsky commented 2 years ago

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