mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-29 14:45:53 +00:00
Additionally key on Rust toolchain file(s) if present
This commit is contained in:
parent
a9bca6b5a6
commit
da42bbe56d
2 changed files with 3 additions and 2 deletions
|
@ -136,7 +136,7 @@ export async function getCmdOutput(
|
|||
}
|
||||
|
||||
async function getLockfileHash(): Promise<string> {
|
||||
const globber = await glob.create("**/Cargo.toml\n**/Cargo.lock", { followSymbolicLinks: false });
|
||||
const globber = await glob.create("**/Cargo.toml\n**/Cargo.lock\nrust-toolchain\nrust-toolchain.toml", { followSymbolicLinks: false });
|
||||
const files = await globber.glob();
|
||||
files.sort((a, b) => a.localeCompare(b));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue