Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow path argument to be passed as YAML array #15

Open
g105b opened this issue Feb 14, 2022 · 0 comments
Open

Allow path argument to be passed as YAML array #15

g105b opened this issue Feb 14, 2022 · 0 comments

Comments

@g105b
Copy link
Member

g105b commented Feb 14, 2022

This functionality has been missed because I seem to have an allergic reaction to YAML.

User MarcinOrlowski kindly recommended a more intuitive syntax to use for the path argument:

- name: PHPStan
  uses: php-actions/phpstan@v3
  with:
    path: example/dir1 example/dir2 example/dir3 ...etc.

is counter intuitive, as in yaml you should do normal list instead

path: 
    - example/dir1example/dir2
    - example/dir2
    - example/dir3
    - ...etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant