tlsn icon indicating copy to clipboard operation
tlsn copied to clipboard

fix: clippy gh action and linting

Open yuroitaki opened this issue 8 months ago • 0 comments

https://github.com/tlsnotary/tlsn/pull/373 introduced a change that caused GH clippy action to only run on examples folder but not anything else (can check the past CI logs, e.g. https://github.com/tlsnotary/tlsn/actions/runs/9755990843/job/26925478536)).

image

This PR fixes that by running clippy on all targets (binary, library, example, test, bench). Though since the components/tls/tls-client crate contains broken tests that don't compile, cargo hack is used temporarily to exclude the crate when running clippy in the components/tls workspace until the test is fixed.

Linting changes from applying clippy on the entire codebase are included too.

yuroitaki avatar Jul 04 '24 08:07 yuroitaki