Skip to content

Commit

Permalink
remove --workspace flags
Browse files Browse the repository at this point in the history
since we have default members of the workspace
  • Loading branch information
qalisander committed May 16, 2024
1 parent 25605c8 commit 8193953
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Install nightly
uses: dtolnay/rust-toolchain@nightly
- name: cargo doc
run: cargo doc --workspace --no-deps --all-features
run: cargo doc --no-deps --all-features
env:
RUSTDOCFLAGS: --cfg docsrs
hack:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nostd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: rustup target add ${{ matrix.target }}
run: rustup target add ${{ matrix.target }}
- name: cargo check
run: cargo check --release --target ${{ matrix.target }} --no-default-features --workspace --all-features
run: cargo check --release --target ${{ matrix.target }} --no-default-features --all-features
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
run: cargo generate-lockfile
# https://twitter.com/jonhoo/status/1571290371124260865
- name: cargo test --locked
run: cargo test --locked --all-features --all-targets --workspace
run: cargo test --locked --all-features --all-targets
# https://github.com/rust-lang/cargo/issues/6669
- name: cargo test --doc
run: cargo test --locked --all-features --doc --workspace
run: cargo test --locked --all-features --doc
os-check:
# Run cargo test on MacOS and Windows.
runs-on: ${{ matrix.os }}
Expand All @@ -74,7 +74,7 @@ jobs:
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: cargo test
run: cargo test --locked --all-features --all-targets --workspace
run: cargo test --locked --all-features --all-targets
coverage:
# Use llvm-cov to build and collect coverage and outputs in a format that
# is compatible with codecov.io.
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ members = [
"examples/erc20",
"examples/erc721",
"examples/merkle-proofs",
"examples/erc721",
"examples/ownable",
"integration",
]
Expand Down
6 changes: 3 additions & 3 deletions GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Some other examples of automation are:

Always check your code with the linter (`clippy`), by running:

$ cargo clippy --workspace --tests --all-features
$ cargo clippy --tests --all-features

And make sure your code is formatted with, using:

Expand All @@ -205,14 +205,14 @@ Finally, ensure there is no trailing whitespace anywhere.

Make sure all tests are passing with:

$ cargo test --workspace --all-features
$ cargo test --all-features

### Checking the docs

If you make documentation changes, you may want to check whether there are any
warnings or errors:

$ cargo doc --workspace --all-features
$ cargo doc --all-features

## Pull requests

Expand Down

0 comments on commit 8193953

Please sign in to comment.