diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7c82cea85f..5c0adc8627 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,7 +27,7 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Run tests - run: cargo test --all + run: cargo test --workspace # build: # runs-on: ubuntu-latest diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af3da80369..37398210ba 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ We use GitHub issues to track public bugs. Report a bug by [opening a new issue] If you are modifying Rust code, make sure it has no warnings from Cargo and follow [Rust code style](https://doc.rust-lang.org/1.0.0/style/). The project uses [rustfmt](https://github.com/rust-lang/rustfmt) formatter. Please ensure to run it using the ```cargo +nightly fmt --all``` command. The project also use [clippy](https://github.com/rust-lang/rust-clippy) lint collection, -so please ensure running ``cargo clippy --all --all-features`` before submitting the PR. +so please ensure running ``cargo clippy --workspace --all-features`` before submitting the PR. ## License By contributing, you agree that your contributions will be licensed under its Apache License 2.0.