php-actions/phpstan

Adding multiple paths does not work

jgrygierek opened this issue · 3 comments

I have such config:

-   name: Run PHPStan
    uses: php-actions/phpstan@v3
    with:
        path: src tests

And I get: Path /app/src tests does not exist

g105b commented

Hi @jgrygierek

Thanks for the report. I'll recreate this issue in https://github.com/php-actions/example-phpstan so I can test the fix of supplying multiple paths as yaml array syntax.

Will keep you posted here.

Thanks!

@g105b Any update on this? I'm experiencing the same issue. Thanks!

g105b commented

Hi @keironlowe-edriving ,

This functionality has been fixed in the latest release, and the v3 tag has been updated to include this fix.

Please see the example repository: https://github.com/php-actions/example-phpstan

Here is the usage that's currently working:

https://github.com/php-actions/example-phpstan/blob/9f86a2cfebf432ea32991d9b1ce68a3d85fa4f7e/.github/workflows/ci-phar.yml#L20