Skip to content

Commit 8d9aaec

Browse files
committed
more uv
1 parent 249b59b commit 8d9aaec

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/bindings_python_ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,21 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v5
59+
- uses: astral-sh/setup-uv@v6
60+
with:
61+
version: "0.9.3"
62+
enable-cache: true
5963
- name: Install tools
6064
run: |
61-
pip install ruff
65+
uv tool install ruff
6266
- name: Check format
6367
working-directory: "bindings/python"
6468
run: |
65-
ruff format . --diff
69+
uvx ruff format . --diff
6670
- name: Check style
6771
working-directory: "bindings/python"
6872
run: |
69-
ruff check .
73+
uvx ruff check .
7074
7175
test:
7276
runs-on: ${{ matrix.os }}
@@ -86,10 +90,10 @@ jobs:
8690
working-directory: "bindings/python"
8791
command: build
8892
args: --out dist --sdist
89-
- name: Install uv
90-
shell: bash
91-
run: |
92-
python -m pip install uv==0.9.3
93+
- uses: astral-sh/setup-uv@v6
94+
with:
95+
version: "0.9.3"
96+
enable-cache: true
9397
- name: Sync dependencies
9498
working-directory: "bindings/python"
9599
shell: bash

0 commit comments

Comments
 (0)