Skip to content

Commit 16ebad5

Browse files
committed
Deactivate clippy in CI
1 parent 13df933 commit 16ebad5

1 file changed

Lines changed: 20 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,29 @@ jobs:
4141
rustup show
4242
rustup component add rustfmt clippy
4343
44-
- name: Code format check
45-
run: cargo fmt -p zenoh-plugin-ros1 -p zenoh-bridge-ros1 --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"
44+
# zenoh-plugin-ros1 is EOL. Let's deactivate all unnecessary steps
45+
# - name: Code format check
46+
# run: cargo fmt -p zenoh-plugin-ros1 -p zenoh-bridge-ros1 --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"
47+
# env:
48+
# CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
49+
50+
# - name: Clippy
51+
# run: cargo clippy -- -D warnings
52+
# env:
53+
# CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
54+
55+
# - name: Clippy All targets
56+
# run: cargo clippy --all-targets -- -D warnings
57+
# env:
58+
# CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
59+
60+
- name: Check
61+
run: cargo check
4662
env:
4763
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
4864

49-
- name: Clippy
50-
run: cargo clippy -- -D warnings
51-
env:
52-
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
53-
54-
- name: Clippy All targets
55-
run: cargo clippy --all-targets -- -D warnings
65+
- name: Check All targets
66+
run: cargo check --all-targets
5667
env:
5768
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
5869

0 commit comments

Comments
 (0)