Add support for running rust-cache commands from within a Nix shell#290
Merged
Swatinem merged 7 commits intoSwatinem:masterfrom Dec 1, 2025
Merged
Add support for running rust-cache commands from within a Nix shell#290Swatinem merged 7 commits intoSwatinem:masterfrom
Swatinem merged 7 commits intoSwatinem:masterfrom
Conversation
Swatinem
approved these changes
Dec 1, 2025
Contributor
Author
|
Hmm, looks like there's some issue with some package on the unstable channel. Should have used the stable channel anyway... |
Contributor
Author
|
I think I fixed everything wrong with the test. |
Swatinem
reviewed
Dec 1, 2025
Contributor
Author
|
I wish I could read... but yeah, it should work now. I needed to lower the nixos stable version too because the GCC was too new for jemalloc (it threw errors). |
Contributor
Author
|
I'm noticing that trybuild doesn't have colors for the Cargo invocation. That's fixable. Do you know what's up with the post action on ubuntu-latest? |
Owner
hm, I think you can ignore that error, it seems to still store the cache successfully. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a new config option
cmd-format, which is similar to Actions'defaults.run.shell. I'm still not sure on the naming. I also considered naming itshelllike it's named in Actions. However, it's not exactly the same thing. Actionsruncommands are a script file and must be run in a shell. This changes the (inline) command to execute, and theoretically doesn't need to be a shell.Fixes #289