Skip to content

Commit

Permalink
Conform to local style.
Browse files Browse the repository at this point in the history
Fix a few whitespace nits.
  • Loading branch information
benjyw committed Dec 8, 2024
1 parent 9f195d9 commit 5ea9070
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
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
`cache-bin: "false"`.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ inputs:
required: false
default: "github"
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
default: "true"
lookup-only:
description: "Check if a cache entry exists without downloading the cache"
required: false
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class CacheConfig {
workspaces.push(new Workspace(root, target));
}
self.workspaces = workspaces;

let keyFiles = await globFiles(".cargo/config.toml\nrust-toolchain\nrust-toolchain.toml");
const parsedKeyFiles = []; // keyFiles that are parsed, pre-processed and hashed

Expand Down

0 comments on commit 5ea9070

Please sign in to comment.