trailofbits / dylint

Run Rust lints from dynamic libraries
https://blog.trailofbits.com/2021/11/09/write-rust-lints-without-forking-clippy/
Apache License 2.0
368 stars 21 forks source link

Convert GitHub workflow tests to Rust tests #636

Open smoelius opened 1 year ago

smoelius commented 1 year ago

Do more with Rust tests and less with Yaml/Bash.

The point is to make more tests runnable via cargo test (not to use Rust for Rust's sake).

Necessist uses this approach, e.g., for checking licenses and checking lockfiles.

The new tests should probably go in ci.rs.

smoelius commented 4 months ago

https://github.com/trailofbits/dylint/pull/1077 is a recent example of such a conversion. Here is a summary of its changes: