mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-16 05:35:11 +00:00
Conform to local style.
Fix a few whitespace nits.
This commit is contained in:
parent
9f195d91fe
commit
5ea9070fd2
@ -180,6 +180,6 @@ to see those details as well as further details related to caching operations.
|
|||||||
|
|
||||||
- The cache cleaning process currently removes all the files from `~/.cargo/bin`
|
- The cache cleaning process currently removes all the files from `~/.cargo/bin`
|
||||||
that were present before the action ran (for example `rustc`), by default.
|
that were present before the action ran (for example `rustc`), by default.
|
||||||
This can be an issue on long-running self-hosted runners, where such state
|
This can be an issue on long-running self-hosted runners, where such state
|
||||||
is expected to be preserved across runs. You can work around this by setting
|
is expected to be preserved across runs. You can work around this by setting
|
||||||
`cache-bin: "false"`.
|
`cache-bin: "false"`.
|
||||||
|
@ -41,8 +41,9 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: "github"
|
default: "github"
|
||||||
cache-bin:
|
cache-bin:
|
||||||
description: "A boolean value indicating whether to cache ${CARGO_HOME}/bin (default: true)"
|
description: "Determines whether to cache ${CARGO_HOME}/bin."
|
||||||
required: false
|
required: false
|
||||||
|
default: "true"
|
||||||
lookup-only:
|
lookup-only:
|
||||||
description: "Check if a cache entry exists without downloading the cache"
|
description: "Check if a cache entry exists without downloading the cache"
|
||||||
required: false
|
required: false
|
||||||
|
@ -133,7 +133,7 @@ export class CacheConfig {
|
|||||||
workspaces.push(new Workspace(root, target));
|
workspaces.push(new Workspace(root, target));
|
||||||
}
|
}
|
||||||
self.workspaces = workspaces;
|
self.workspaces = workspaces;
|
||||||
|
|
||||||
let keyFiles = await globFiles(".cargo/config.toml\nrust-toolchain\nrust-toolchain.toml");
|
let keyFiles = await globFiles(".cargo/config.toml\nrust-toolchain\nrust-toolchain.toml");
|
||||||
const parsedKeyFiles = []; // keyFiles that are parsed, pre-processed and hashed
|
const parsedKeyFiles = []; // keyFiles that are parsed, pre-processed and hashed
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user