Skip to content

Commit badf652

Browse files
committed
fix ruff ci check
1 parent d37742e commit badf652

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: chartboost/ruff-action@v1
15-
with:
16-
args: 'check .'
14+
- uses: hynek/setup-cached-uv@v1
15+
- run: uv venv
16+
- run: uv pip install ruff
17+
- run: source .venv/bin/activate; ruff check .
1718
ruff-format:
1819
runs-on: ubuntu-latest
1920
steps:
2021
- uses: actions/checkout@v4
21-
- uses: chartboost/ruff-action@v1
22-
with:
23-
args: 'format --check .'
22+
- uses: hynek/setup-cached-uv@v1
23+
- run: uv venv
24+
- run: uv pip install ruff
25+
- run: source .venv/bin/activate; ruff format .
2426
test:
2527
# DISABLE FOR REWRITE
2628
if: false

0 commit comments

Comments
 (0)