Skip to content

Commit

Permalink
CI: disable incompatible cargo sort
Browse files Browse the repository at this point in the history
  • Loading branch information
oddgrd committed Dec 2, 2022
1 parent b4c64b7 commit 0701a03
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ jobs:
- install-protoc
- run: cargo fmt --all --check
- run: cargo install cargo-sort
- run: cargo sort --check --workspace
# TODO: this is incompatible with workspace inheritance, uncomment when
# https://github.com/DevinR528/cargo-sort/pull/29 is merged
# - run: cargo sort --check --workspace
- run: cargo check --workspace --all-targets
- save-cargo-cache
workspace-clippy:
Expand Down Expand Up @@ -176,7 +178,9 @@ jobs:
- apply-patches
- run: cargo fmt --all --check --manifest-path << parameters.path >>/Cargo.toml
- run: cargo install cargo-sort
- run: cargo sort --check << parameters.path >>
# TODO: this is incompatible with workspace inheritance, uncomment when
# https://github.com/DevinR528/cargo-sort/pull/29 is merged
# - run: cargo sort --check << parameters.path >>
- run: |
cargo clippy --tests \
--all-targets \
Expand Down

0 comments on commit 0701a03

Please sign in to comment.