Skip to content

Commit 8073452

Browse files
docs: update version references to v10.1.0 (#1044)
Update `uses: astral-sh/setup-uv@...` references in documentation to `bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0`. Co-authored-by: eifinger <[email protected]>
1 parent bec219d commit 8073452

5 files changed

Lines changed: 41 additions & 41 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Set up your GitHub Actions workflow with a specific version of [uv](https://docs
2626

2727
```yaml
2828
- name: Install the latest version of uv
29-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
29+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
3030
```
3131
3232
If you do not specify a version, this action will look for a [required-version](https://docs.astral.sh/uv/reference/settings/#required-version)
@@ -42,7 +42,7 @@ Have a look under [Advanced Configuration](#advanced-configuration) for detailed
4242

4343
```yaml
4444
- name: Install uv with all available options
45-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
45+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
4646
with:
4747
# The version of uv to install, e.g., "0.5.0", "latest", or "latest-known" (default: searches for version in config files, then latest)
4848
version: ""
@@ -157,7 +157,7 @@ python 3.13
157157
```
158158

159159
```yaml
160-
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
160+
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
161161
with:
162162
version-file: ".tool-versions"
163163
```
@@ -168,7 +168,7 @@ a warning.
168168

169169
```yaml
170170
- name: Install the latest version of uv and set the python version to 3.13t
171-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
171+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
172172
with:
173173
python-version: 3.13t
174174
- run: uv pip install --python=3.13t pip
@@ -186,7 +186,7 @@ jobs:
186186
steps:
187187
- uses: actions/checkout@v5
188188
- name: Install the latest version of uv and set the python version
189-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
189+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
190190
with:
191191
python-version: ${{ matrix.python-version }}
192192
- name: Test with python ${{ matrix.python-version }}
@@ -203,7 +203,7 @@ It also controls where [the venv gets created](#activate-environment), unless `v
203203

204204
```yaml
205205
- name: Install uv based on the config files in the working-directory
206-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
206+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
207207
with:
208208
working-directory: my/subproject/dir
209209
```
@@ -245,7 +245,7 @@ For example:
245245
- name: Checkout the repository
246246
uses: actions/checkout@main
247247
- name: Install the latest version of uv
248-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
248+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
249249
with:
250250
enable-cache: true
251251
- name: Test
@@ -257,7 +257,7 @@ To install a specific version of Python, use
257257

258258
```yaml
259259
- name: Install the latest version of uv
260-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
260+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
261261
with:
262262
enable-cache: true
263263
- name: Install Python 3.12
@@ -276,7 +276,7 @@ output:
276276
uses: actions/checkout@main
277277
- name: Install the default version of uv
278278
id: setup-uv
279-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
279+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
280280
- name: Print the installed version
281281
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
282282
```

‎docs/advanced-version-configuration.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document covers advanced options for configuring which version of uv to ins
66

77
```yaml
88
- name: Install the latest version of uv
9-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
9+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
1010
with:
1111
version: "latest"
1212
```
@@ -19,7 +19,7 @@ When `manifest-file` is set, `latest-known` still selects a version from setup-u
1919

2020
```yaml
2121
- name: Install the latest version of uv known to setup-uv
22-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
22+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
2323
with:
2424
version: "latest-known"
2525
```
@@ -28,7 +28,7 @@ When `manifest-file` is set, `latest-known` still selects a version from setup-u
2828

2929
```yaml
3030
- name: Install a specific version of uv
31-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
31+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
3232
with:
3333
version: "0.4.4"
3434
```
@@ -41,21 +41,21 @@ to install the latest version that satisfies the range.
4141

4242
```yaml
4343
- name: Install a semver range of uv
44-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
44+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
4545
with:
4646
version: ">=0.4.0"
4747
```
4848

4949
```yaml
5050
- name: Pinning a minor version of uv
51-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
51+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
5252
with:
5353
version: "0.4.x"
5454
```
5555

5656
```yaml
5757
- name: Install a pep440-specifier-satisfying version of uv
58-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
58+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
5959
with:
6060
version: ">=0.4.25,<0.5"
6161
```
@@ -67,7 +67,7 @@ You can change this behavior using the `resolution-strategy` input:
6767

6868
```yaml
6969
- name: Install the lowest compatible version of uv
70-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
70+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
7171
with:
7272
version: ">=0.4.0"
7373
resolution-strategy: "lowest"
@@ -92,7 +92,7 @@ as `UV_PYTHON`. Only a single Python version is supported; multiple fallback ver
9292

9393
```yaml
9494
- name: Install uv based on the version defined in pyproject.toml
95-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
95+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
9696
with:
9797
version-file: "pyproject.toml"
9898
```
@@ -103,7 +103,7 @@ silently picking up a newer uv until the lockfile is updated.
103103

104104
```yaml
105105
- name: Install uv based on the version locked in uv.lock
106-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
106+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
107107
with:
108108
version-file: "uv.lock"
109109
```

‎docs/caching.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The computed cache key is available as the `cache-key` output:
2323
```yaml
2424
- name: Setup uv
2525
id: setup-uv
26-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
26+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
2727
with:
2828
enable-cache: true
2929
- name: Print cache key
@@ -53,7 +53,7 @@ You can optionally define a custom cache key suffix.
5353
```yaml
5454
- name: Enable caching and define a custom cache key suffix
5555
id: setup-uv
56-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
56+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
5757
with:
5858
enable-cache: true
5959
cache-suffix: "optional-suffix"
@@ -92,15 +92,15 @@ changes. If you use relative paths, they are relative to the working directory.
9292

9393
```yaml
9494
- name: Define a cache dependency glob
95-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
95+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
9696
with:
9797
enable-cache: true
9898
cache-dependency-glob: "**/pyproject.toml"
9999
```
100100

101101
```yaml
102102
- name: Define a list of cache dependency globs
103-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
103+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
104104
with:
105105
enable-cache: true
106106
cache-dependency-glob: |
@@ -110,15 +110,15 @@ changes. If you use relative paths, they are relative to the working directory.
110110

111111
```yaml
112112
- name: Define an absolute cache dependency glob
113-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
113+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
114114
with:
115115
enable-cache: true
116116
cache-dependency-glob: "/tmp/my-folder/requirements*.txt"
117117
```
118118

119119
```yaml
120120
- name: Never invalidate the cache
121-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
121+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
122122
with:
123123
enable-cache: true
124124
cache-dependency-glob: ""
@@ -131,7 +131,7 @@ By default, the cache will be restored.
131131

132132
```yaml
133133
- name: Don't restore an existing cache
134-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
134+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
135135
with:
136136
enable-cache: true
137137
restore-cache: false
@@ -145,7 +145,7 @@ By default, the cache will be saved.
145145

146146
```yaml
147147
- name: Don't save the cache after the run
148-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
148+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
149149
with:
150150
enable-cache: true
151151
save-cache: false
@@ -171,7 +171,7 @@ It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\setup-uv-cache` on
171171

172172
```yaml
173173
- name: Define a custom uv cache path
174-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
174+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
175175
with:
176176
cache-local-path: "/path/to/cache"
177177
```
@@ -188,7 +188,7 @@ If you want to prune the cache before saving it, enable cache pruning with the `
188188

189189
```yaml
190190
- name: Prune the cache before saving it
191-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
191+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
192192
with:
193193
enable-cache: true
194194
prune-cache: true
@@ -207,7 +207,7 @@ To force managed Python installs, set `UV_PYTHON_PREFERENCE=only-managed`.
207207

208208
```yaml
209209
- name: Cache Python installs
210-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
210+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
211211
with:
212212
enable-cache: true
213213
cache-python: true
@@ -225,7 +225,7 @@ If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
225225

226226
```yaml
227227
- name: Ignore nothing to cache
228-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
228+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
229229
with:
230230
enable-cache: true
231231
ignore-nothing-to-cache: true

‎docs/customization.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can specify a checksum to override those values. The sha256 hashes can also
1111

1212
```yaml
1313
- name: Install a specific version and validate the checksum
14-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
14+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
1515
with:
1616
version: "0.3.1"
1717
checksum: "e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8"
@@ -40,7 +40,7 @@ The `archive_format` field is currently ignored.
4040

4141
```yaml
4242
- name: Use a custom manifest file
43-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
43+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
4444
with:
4545
manifest-file: "https://example.com/my-custom-manifest.ndjson"
4646
```
@@ -59,7 +59,7 @@ You can disable this by setting the `add-problem-matchers` input to `false`.
5959

6060
```yaml
6161
- name: Install the latest version of uv without problem matchers
62-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
62+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
6363
with:
6464
add-problem-matchers: false
6565
```

‎docs/environment-and-tools.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This allows directly using it in later steps:
99

1010
```yaml
1111
- name: Install the latest version of uv and activate the environment
12-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
12+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
1313
with:
1414
activate-environment: true
1515
- run: uv pip install pip
@@ -32,7 +32,7 @@ key: build-${{ runner.os }}-${{ runner.arch }}-${{ steps.setup-uv.outputs.python
3232
You can customize the venv location with `venv-path`, for example to place it in the runner temp directory:
3333

3434
```yaml
35-
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
35+
- uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
3636
with:
3737
activate-environment: true
3838
venv-path: ${{ runner.temp }}/custom-venv
@@ -63,7 +63,7 @@ are not sufficient, you can provide a custom GitHub token with the necessary per
6363

6464
```yaml
6565
- name: Install the latest version of uv with a custom GitHub token
66-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
66+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
6767
with:
6868
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
6969
```
@@ -81,7 +81,7 @@ input:
8181

8282
```yaml
8383
- name: Install the latest version of uv with a custom tool dir
84-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
84+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
8585
with:
8686
tool-dir: "/path/to/tool/dir"
8787
```
@@ -100,7 +100,7 @@ If you want to change this behaviour (especially on self-hosted runners) you can
100100

101101
```yaml
102102
- name: Install the latest version of uv with a custom tool bin dir
103-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
103+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
104104
with:
105105
tool-bin-dir: "/path/to/tool-bin/dir"
106106
```
@@ -117,7 +117,7 @@ This action supports expanding the `~` character to the user's home directory fo
117117

118118
```yaml
119119
- name: Expand the tilde character
120-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
120+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
121121
with:
122122
cache-local-path: "~/path/to/cache"
123123
tool-dir: "~/path/to/tool/dir"
@@ -134,7 +134,7 @@ If you want to ignore this, set the `ignore-empty-workdir` input to `true`.
134134

135135
```yaml
136136
- name: Ignore empty workdir
137-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
137+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
138138
with:
139139
ignore-empty-workdir: true
140140
```
@@ -158,7 +158,7 @@ This action sets several environment variables that influence uv's behavior and
158158

159159
```yaml
160160
- name: Example using environment variables
161-
uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
161+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
162162
with:
163163
python-version: "3.12"
164164
tool-dir: "/custom/tool/dir"

0 commit comments

Comments
 (0)