checkpoint-restore / criu-image-streamer

Enables streaming of images to and from CRIU during checkpoint/restore with low overhead
86 stars 12 forks source link

ci: enable clippy check #10

Closed rst0git closed 2 years ago

rst0git commented 2 years ago

This pull request adds a GitHub action to run Clippy.

nviennot commented 2 years ago

Good idea, but we need to tell clippy to ignore the auto-generated files from the protobuf files. When I run cargo clippy I get a ton of stuff that is not relevant to us.

I've seen this: https://github.com/rust-lang/rust-clippy/issues/702

But I'm not sure how to plug this in.

rst0git commented 2 years ago

Good idea, but we need to tell clippy to ignore the auto-generated files from the protobuf files. When I run cargo clippy I get a ton of stuff that is not relevant to us.

Thanks for pointing this out. I've opened another PR to address this problem: https://github.com/checkpoint-restore/criu-image-streamer/pull/11