From 7ca3f9515cd0621b86c2beb5ae2abdd36b9ffe8e Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 31 Dec 2024 16:43:17 +0100 Subject: [PATCH] Update references to `astral-sh/ruff-action` from v2 to `v3` (#15212) --- README.md | 2 +- docs/integrations.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 12019edbca..e31c90bce7 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: astral-sh/ruff-action@v1 + - uses: astral-sh/ruff-action@v3 ``` ### Configuration diff --git a/docs/integrations.md b/docs/integrations.md index 156f2b7d7d..dbee98708e 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -46,13 +46,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: astral-sh/ruff-action@v2 + - uses: astral-sh/ruff-action@v3 ``` Alternatively, you can include `ruff-action` as a step in any other workflow file: ```yaml - - uses: astral-sh/ruff-action@v2 + - uses: astral-sh/ruff-action@v3 ``` `ruff-action` accepts optional configuration parameters via `with:`, including: @@ -64,7 +64,7 @@ Alternatively, you can include `ruff-action` as a step in any other workflow fil For example, to run `ruff check --select B ./src` using Ruff version `0.8.0`: ```yaml -- uses: astral-sh/ruff-action@v2 +- uses: astral-sh/ruff-action@v3 with: version: 0.8.0 args: check --select B