Skip to content

Commit 634c3dc

Browse files
committed
use rustup pypi package
1 parent ba8c037 commit 634c3dc

File tree

3 files changed

+54
-25
lines changed

3 files changed

+54
-25
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
./pw uv run ruff format --check
5050
- name: Test with cargo
5151
run: |
52-
cargo test --no-default-features
52+
./pw uv run cargo test --no-default-features
5353
- name: Test with pytest and report coverage
5454
run: |
5555
./pw uv run coverage run --branch --source=python -m pytest
@@ -60,8 +60,8 @@ jobs:
6060
- name: Check tach
6161
run: ./pw uv run tach check
6262
- name: Check Rust linting
63-
run: cargo clippy
63+
run: ./pw uv run cargo clippy
6464
- name: Check Rust formatting
65-
run: cargo fmt --all --check
65+
run: ./pw uv run cargo fmt --all --check
6666
- name: Check Rust
67-
run: cargo check
67+
run: ./pw uv run cargo check

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dev = [
7272
"coverage==7.6.0; python_version > '3.7'",
7373
# Rust
7474
"maturin==1.7.1",
75-
75+
"rustup>=1.28.2.1",
7676
# python version 3.7 pinned dependencies
7777
"setuptools==47.1.0; python_version == '3.7'",
7878
"twine==4.0.2; python_version == '3.7'",

uv.lock

Lines changed: 49 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)