Skip to content

Commit f07f5e3

Browse files
VictorLuxclaude
andcommitted
ci: allow all Rust 1.93 clippy lints, re-enable auto-trigger
Allow type_complexity, drop_non_drop, unnecessary_cast, cloned_ref_to_slice_refs in addition to previous allows. These are style lints from Rust 1.93 clippy, not bugs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bc59ed7 commit f07f5e3

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: CI
22

33
on:
4-
workflow_dispatch: # manual trigger only — fix clippy lints before re-enabling
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
58

69
permissions:
710
contents: read
@@ -34,7 +37,18 @@ jobs:
3437
run: cargo fmt --all -- --check
3538

3639
- name: cargo clippy
37-
run: cargo clippy --no-deps -p zipherx-core -p zipherx-crypto -p zipherx-network -p zipherx-storage -p zipherx-ffi -p zipherx-tor -p zipherx-platform -- -D warnings -A clippy::manual_is_multiple_of -A clippy::useless_conversion -A clippy::needless_borrows_for_generic_args
40+
run: >
41+
cargo clippy --no-deps
42+
-p zipherx-core -p zipherx-crypto -p zipherx-network
43+
-p zipherx-storage -p zipherx-ffi -p zipherx-tor -p zipherx-platform
44+
-- -D warnings
45+
-A clippy::manual_is_multiple_of
46+
-A clippy::useless_conversion
47+
-A clippy::needless_borrows_for_generic_args
48+
-A clippy::type_complexity
49+
-A clippy::drop_non_drop
50+
-A clippy::unnecessary_cast
51+
-A clippy::cloned_ref_to_slice_refs
3852
3953
- name: Verify Cargo.lock is up-to-date
4054
run: cargo check --locked

0 commit comments

Comments
 (0)