@@ -43,7 +43,7 @@ For an example workflow, see
43
43
44
44
> [!TIP]
45
45
>
46
- > Using ` latest` requires that uv download the executable on every run, which incurs a cost
46
+ > Using ` latest` requires to download the uv executable on every run, which incurs a cost
47
47
> (especially on self-hosted runners). As a best practice, consider pinning the version to a
48
48
> specific release.
49
49
@@ -58,7 +58,7 @@ For an example workflow, see
58
58
59
59
# ## Install a version by supplying a semver range
60
60
61
- You can also specify a [semver range](https://github.com/npm/node-semver?tab=readme-ov-file#ranges)
61
+ You can specify a [semver range](https://github.com/npm/node-semver?tab=readme-ov-file#ranges)
62
62
to install the latest version that satisfies the range.
63
63
64
64
` ` ` yaml
@@ -77,7 +77,7 @@ to install the latest version that satisfies the range.
77
77
78
78
# ## Validate checksum
79
79
80
- You can also specify a checksum to validate the downloaded file . Checksums up to the default version
80
+ You can specify a checksum to validate the downloaded executable . Checksums up to the default version
81
81
are automatically verified by this action. The sha256 hashes can be found on the
82
82
[releases page](https://github.com/astral-sh/uv/releases) of the uv repo.
83
83
@@ -91,8 +91,8 @@ are automatically verified by this action. The sha256 hashes can be found on the
91
91
92
92
# ## Enable caching
93
93
94
- If you enable caching, the [uv cache](https://docs.astral.sh/uv/concepts/cache/) will be cached to
95
- the GitHub Actions Cache . This can speed up runs that reuse the cache by several minutes.
94
+ If you enable caching, the [uv cache](https://docs.astral.sh/uv/concepts/cache/) will be uploaded to
95
+ the GitHub Actions cache . This can speed up runs that reuse the cache by several minutes.
96
96
97
97
> [!TIP]
98
98
>
@@ -121,9 +121,9 @@ use it in subsequent steps. For example, to use the cache in the above case:
121
121
122
122
# ### Cache dependency glob
123
123
124
- If you want to control when the cache is invalidated, specify a glob pattern with the
125
- ` cache-dependency-glob` input. The cache will be invalidated if any file matching the glob pattern
126
- changes. If you use relative paths, the glob matches files relative to the repository root.
124
+ If you want to control when the GitHub Actions cache is invalidated, specify a glob pattern with the
125
+ ` cache-dependency-glob` input. The GitHub Actions cache will be invalidated if any file matching the glob pattern
126
+ changes. If you use relative paths, they are relative to the repository root.
127
127
128
128
> [!NOTE]
129
129
>
@@ -183,8 +183,8 @@ By default, the uv cache is pruned after every run, removing pre-built wheels, b
183
183
wheels that were built from source. On GitHub-hosted runners, it's typically faster to omit those
184
184
pre-built wheels from the cache (and instead re-download them from the registry on each run).
185
185
However, on self-hosted or local runners, preserving the cache may be more efficient. See
186
- the[documentation](https://docs.astral.sh/uv/concepts/cache/#caching-in-continuous-integration) for
187
- more.
186
+ the [documentation](https://docs.astral.sh/uv/concepts/cache/#caching-in-continuous-integration) for
187
+ more information .
188
188
189
189
If you want to persist the entire cache across runs, disable cache pruning with the `prune-cache`
190
190
input.
@@ -199,8 +199,8 @@ input.
199
199
200
200
# ## Ignore nothing to cache
201
201
202
- By default, the action will fail if there is nothing to cache. If you want to ignore this, set the
203
- ` ignore-nothing-to-cache` input to `true`.
202
+ By default, the action will fail if there is nothing to cache (the uv cache directory does not exist).
203
+ If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
204
204
205
205
` ` ` yaml
206
206
- name: Ignore nothing to cache
0 commit comments