Skip to content
check-square

GitHub Action

Ruff Check

0.3.7 Latest version

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/ruff-check@0.3.7

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/'