enhancement: Add option to specify rust-toolchain.toml path#69
Conversation
jonasbb
left a comment
There was a problem hiding this comment.
The rust-cache action also needs to be configured if the Rust source is not in the root of the repository: Swatinem/rust-cache#153 or Swatinem/rust-cache#223.
As I understand it the workspaces value needs to be configured. Potentially you can just set it to the same value as rust_toolchain_dir.
If the cache-workspaces input is not set then it should autoconfigure based on rust_toolchain_dir. If cache-workspaces is explicitly provided, it must always take precedence.
Since the configuration now is for the Rust sources directory, not just the toolchain path, a better name might be something like "rust-src-dir" or "rust-base-dir".
|
@jonasbb 👀 |
|
Thank you for preparing the changes. I want to see a test first that shows the cache successfully being used. I can setup one, but don't know right know when I find the time for it. |


Resolves: #47