Skip to content

Commit b469036

Browse files
authored
ci: Update Ruff Linter to use marketplace action (#358)
1 parent 0c91ec5 commit b469036

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/linter.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,28 @@ jobs:
2727

2828
- name: Run Ruff Linter
2929
id: ruff-lint
30+
uses: astral-sh/ruff-action@v3
3031
continue-on-error: true
31-
run: uv run ruff check .
32-
- name: Run Ruff Format Check
32+
33+
- name: Run Ruff Formatter
3334
id: ruff-format
35+
uses: astral-sh/ruff-action@v3
3436
continue-on-error: true
35-
run: uv run ruff format --check .
37+
with:
38+
args: "format --check"
39+
3640
- name: Run MyPy Type Checker
3741
id: mypy
3842
continue-on-error: true
3943
run: uv run mypy src
44+
4045
- name: Run Pyright (Pylance equivalent)
4146
id: pyright
4247
continue-on-error: true
4348
uses: jakebailey/pyright-action@v2
4449
with:
4550
pylance-version: latest-release
51+
4652
- name: Run JSCPD for copy-paste detection
4753
id: jscpd
4854
continue-on-error: true

0 commit comments

Comments
 (0)