Conform to local style.

Fix a few whitespace nits.
This commit is contained in:
Benjy Weinberger 2024-12-08 15:14:45 -08:00
parent 9f195d91fe
commit 5ea9070fd2
3 changed files with 4 additions and 3 deletions

View File

@ -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"`.

View File

@ -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

View File

@ -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