From 6bfee9f98f954b8ee5bae1bdcfab3dc30b7bc43b Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 31 Dec 2024 11:16:28 +0100 Subject: [PATCH 1/2] uses: astral-sh/ruff-action@v3, not v2 ## Summary https://docs.astral.sh/ruff/integrations/#github-actions upgraded for https://github.com/astral-sh/ruff-action/releases ```diff - - uses: astral-sh/ruff-action@v2 + - uses: astral-sh/ruff-action@v3 ``` * #14800 ## Test Plan @eifinger Your review, please. --- docs/integrations.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/integrations.md b/docs/integrations.md index 156f2b7d7d5f28..dbee98708e9a8e 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 From 19af1decdf461016b382445d6a665ea5b478ad37 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 31 Dec 2024 11:40:47 +0100 Subject: [PATCH 2/2] README.md: uses: astral-sh/ruff-action@v3 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12019edbca22cd..e31c90bce7aad5 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