Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-square

GitHub Action

Ruff Check

0.0.239

Ruff Check

check-square

Ruff Check

GitHub action to run ruff on your python repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Ruff Check

uses: jpetrucciani/[email protected]

Learn more about this action in jpetrucciani/ruff-check

Choose a version

ruff-check

GitHub Action for ruff

Inputs

path

The path to run ruff on

Default "."

format

Format to output ruff messages in

Default "github"

flags

Optional Optional ruff flags (refer to ruff --help)

Default ""

Outputs

None

Example usage

uses: jpetrucciani/ruff-check@main

# or specify a path!
uses: jpetrucciani/ruff-check@main
with:
  path: '.'

# or specify more flags!
uses: jpetrucciani/ruff-check@main
with:
  flags: '--exclude ./env/'