Even though CARGO_HOME is configured as CARGO_HOME=/cargo in softprops/lambda-rust, which is the default docker container of this plugin, this plugin mounts the volumes to /root/.cargo, so the cache is not working.
In this PR, the mount target is changed to /cargo.
@softprops Since it's my first time sending a PR to this project, I'm not familiar with the review process. So please let me know if there is something I need to do before sending a request. Thanks!
Even though
CARGO_HOME
is configured asCARGO_HOME=/cargo
in softprops/lambda-rust, which is the default docker container of this plugin, this plugin mounts the volumes to/root/.cargo
, so the cache is not working.In this PR, the mount target is changed to
/cargo
.