Skip to content

Commit 7d54f7f

Browse files
authored
ci: Fix python bindings rust code not checked (#1338)
## Which issue does this PR close? None ## What changes are included in this PR? While reviewing PRs related to the python bindings, I noticed that the code formatting was incorrect and some clippy lints were not being triggered properly. This happened because we weren't running the checks on the correct path. This PR addresses that issue. Our Python friends should be happier and feel more at home with Rust now. ## Are these changes tested? Not needed, it's in CI. Signed-off-by: Xuanwo <github@xuanwo.io>
1 parent c79eb1b commit 7d54f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/bindings_python_ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ jobs:
3535
steps:
3636
- uses: actions/checkout@v4
3737
- name: Check format
38+
working-directory: "bindings/python"
3839
run: cargo fmt --all -- --check
3940
- name: Check clippy
41+
working-directory: "bindings/python"
4042
run: cargo clippy --all-targets --all-features -- -D warnings
4143

4244
check-python:

0 commit comments

Comments
 (0)