tlsn
tlsn copied to clipboard
fix: clippy gh action and linting
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)).
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.