Skip to content

Commit 11278ff

Browse files
committed
ci(pr): install Rust toolchain and run sanity check inside uv environment
1 parent 80b4d5f commit 11278ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
with:
1616
python-version: "3.11"
1717

18+
- name: Install Rust
19+
uses: dtolnay/rust-toolchain@stable
20+
1821
- name: Install uv
1922
uses: astral-sh/setup-uv@v3
2023

@@ -63,7 +66,7 @@ jobs:
6366

6467
- name: Sanity check (import Rust extension)
6568
run: |
66-
python -c "import typeid; import typeid._base32; print('Rust extension OK')"
69+
uv run python -c "import typeid; import typeid._base32; print('Rust extension OK')"
6770
6871
- name: Run tests
6972
run: |

0 commit comments

Comments
 (0)