Skip to content

Commit

Permalink
Update references to astral-sh/ruff-action from v2 to v3 (#15212)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Dec 31, 2024
1 parent 32de580 commit 7ca3f95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<a id="configuration"></a>
Expand Down
6 changes: 3 additions & 3 deletions docs/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 7ca3f95

Please sign in to comment.