From aecd4a32f6535364cbeff52bc9612427540f4be6 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Sun, 16 Mar 2025 21:10:00 +0100 Subject: [PATCH] Extend information on install only (#102) Closes: #100 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f437a14..94e6f04 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,17 @@ This action adds ruff to the PATH, so you can use it in subsequent steps. - run: ruff format ``` +By default, this action runs `ruff check` after installation. +If you do not want to run any `ruff` command but only install it, +you can use the `args` input to overwrite the default value (`check`): + +```yaml +- name: Install ruff without running check or format + uses: astral-sh/ruff-action@v3 + with: + args: "--version" +``` + ### Use `ruff format` ```yaml