Skip to content

Commit 2f67cf1

Browse files
committed
fix run ruff in ci
1 parent b53eb90 commit 2f67cf1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/lint-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
uses: astral-sh/setup-uv@v6
3737
with:
3838
python-version: '3.10'
39+
enable-cache: true
3940

4041
- name: install packages
4142
run: uv venv && uv pip install -r pyproject.toml --extra testing
@@ -44,7 +45,7 @@ jobs:
4445
run: uv run ruff check --output-format github ./src ./tests
4546

4647
- name: format check using ruff
47-
run: ruff format --check ./src ./tests
48+
run: uv run ruff format --check ./src ./tests
4849

4950
test:
5051
runs-on: ubuntu-22.04 # Provides system Python 3.10
@@ -59,6 +60,7 @@ jobs:
5960
uses: astral-sh/setup-uv@v6
6061
with:
6162
python-version: '3.10'
63+
enable-cache: true
6264

6365
- name: install packages
6466
run: uv venv && uv pip install -r pyproject.toml --extra testing

0 commit comments

Comments
 (0)