8000 ci: use astral-sh/ruff-action (#1201) · PyMySQL/PyMySQL@53efd1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 53efd1e

Browse files
authored
ci: use astral-sh/ruff-action (#1201)
1 parent e88b729 commit 53efd1e

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/lint.yaml

+7-8
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: checkout
17-
uses: actions/checkout@v4
16+
- uses: actions/checkout@v4
1817

19-
- name: lint
20-
uses: chartboost/ruff-action@v1
18+
- uses: astral-sh/ruff-action@v3
19+
20+
- name: format
21+
run: ruff format --diff
2122

22-
- name: check format
23-
uses: chartboost/ruff-action@v1
24-
with:
25-
args: "format --diff"
23+
- name: lint
24+
run: ruff check --diff

0 commit comments

Comments
 (0)
0