-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Makefile: point to cargo cache when running check-clippy #2868
Makefile: point to cargo cache when running check-clippy #2868
Conversation
8b655b4
to
58ef8de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
58ef8de
to
9bcb97a
Compare
9bcb97a
to
9af0075
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Wait for CI to pass though.
Issue number:
N/A
Description of changes:
Mounted only relevant directories to docker container (
sources
,tools
, and.cargo
) instead of the whole working directory. Set theCARGO_HOME
directory in the docker container to/tmp/.cargo
so it would find the registry cache and not have to download, compile, and check each crate every timecheck-clippy
is invoked.Removed pinned Rust version since we use
clippy
from the SDK.Testing done:
Ran
cargo make check-clippy
twice: first time had to download and compile several crates, second time finished immediately.Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.