setup-rust
setup-rust copied to clipboard
A maintained GitHub action for setting up Rust and Cargo.
before build; Attempting to restore cache Generating cache key Cache does not exist using key setup-rustcargo-v1-win32-d94c355bca58aa4c0186140d125e989ab8395e82 after build: Size changed 1.63 GB => 313.25 MB (-1.32 GB, -80.81%) Cleaning target/release...
setup-rust action takes around 1min even though it is cached. Most likely the rustup binary and few other items are not cached. https://github.com/moonrepo/setup-rust/blob/deec13b3d0b5422af3f5cf858ddacfde8dfa254f/src/cargo.ts#L105-L112 ``` Setting cargo environment variables Adding ~/.cargo/bin...
We have been using setup-rust for a while on both Linux and macOS runners. On Linux everything is stable, but the macOS runners very often hang for long periods of...
tl;dr I would like to build `bins` with option `--locked` From [this failed build](https://github.com/jtmoon79/super-speedy-syslog-searcher/actions/runs/9260439736/job/25474342720) I got error ``` Run moonrepo/setup-rust@v1 with: channel: 1.70.0 bins: cross targets: aarch64-apple-ios cache: true cache-target:...
we using lot of steps in our ci, which brings use pretty often to scenarios when we hit the API rate limits... for example: ``` Warning: Failed to save: Cache...
I was wondering if this action also caches [cargo-lambda](https://github.com/cargo-lambda/cargo-lambda) builds since that uses [cargo-zigbuild](https://github.com/rust-cross/cargo-zigbuild) under the hood.
Is it possible to enable caching only for the tools listed in the `bins` parameter? This would allow the specified tools to be retrieved from the cache on subsequent runs...
Hello, Thanks for the work on this action. I was wondering, how could I use it with a project that is in a subdirectory of the repository? I don't think...
hello im running cargo check on two different target, wasm32 and x86_64 linux. the first target is cached, but the second one not, as cargo need to recompile the deps...