Skip to content

Commit ce3b94a

Browse files
committed
Switch to supported astral-sh/ruff-action
1 parent 83a8af5 commit ce3b94a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- name: Display Ruff version
21-
uses: chartboost/ruff-action@v1
21+
uses: astral-sh/ruff-action@v3 # Installs ruff for use in later steps
2222
with:
23-
args: "--version"
23+
args: --version
24+
version-file: "pyproject.toml"
2425
- name: Lint with Ruff
25-
uses: chartboost/ruff-action@v1
26+
run: ruff --fix
2627
- name: Format with Ruff
27-
uses: chartboost/ruff-action@v1
28-
with:
29-
args: "format --check"
28+
run: ruff format --check
29+
3030

3131
mypy:
3232
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)