Closed elliot-100 closed 7 months ago
https://docs.astral.sh/ruff/integrations/#github-actions says:
ruff-action accepts optional configuration parameters via with:, including: version: The Ruff version to install (default: latest). options: The command-line arguments to pass to Ruff (default: "check"). src: The source paths to pass to Ruff (default: ".").
ruff-action accepts optional configuration parameters via with:, including:
I think 'options' here should be 'args' to match the example code:
- uses: chartboost/ruff-action@v1 with: src: "./src" version: 0.0.259 args: --select B
as using options gives:
options
Warning: Unexpected input(s) 'options', valid inputs are ['args', 'src', 'version']
Thanks; you're right. This should be args, according to the GitHub action's documentation. Would you be interested PRing a fix for the documentation?
args
Thank you!
https://docs.astral.sh/ruff/integrations/#github-actions says:
I think 'options' here should be 'args' to match the example code:
as using
options
gives:Warning: Unexpected input(s) 'options', valid inputs are ['args', 'src', 'version']