Skip to content

Feature to both lint and check format in a single action #23

@augustelalande

Description

@augustelalande

I would like an option to also check formatting in addition to the default lint check. As far as I can tell this is not possible even playing with the args as it is today (I'm aware of astral-sh/ruff#8232).

My ideal invocation would be

- uses: astral-sh/ruff-action@v2
  with:
    check_format: true

I'm willing to contribute it if people find it useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions