8000 ci: use astral-sh/ruff-action · PyMySQL/PyMySQL@c7c7613 · GitHub
[go: up one dir, main page]

Skip to content

Commit c7c7613

Browse files
committed
ci: use astral-sh/ruff-action
1 parent e88b729 commit c7c7613

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/lint.yaml

Lines changed: 7 additions & 8 deletions
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