You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Set up your GitHub Actions workflow with a specific version of [uv](https://docs
26
26
27
27
```yaml
28
28
- name: Install the latest version of uv
29
-
uses: astral-sh/setup-uv@v6
29
+
uses: astral-sh/setup-uv@v7
30
30
```
31
31
32
32
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
42
42
43
43
```yaml
44
44
- name: Install uv with all available options
45
-
uses: astral-sh/setup-uv@v6
45
+
uses: astral-sh/setup-uv@v7
46
46
with:
47
47
# The version of uv to install (default: searches for version in config files, then latest)
48
48
version: ""
@@ -134,7 +134,7 @@ This will override any python version specifications in `pyproject.toml` and `.p
134
134
135
135
```yaml
136
136
- name: Install the latest version of uv and set the python version to 3.13t
137
-
uses: astral-sh/setup-uv@v6
137
+
uses: astral-sh/setup-uv@v7
138
138
with:
139
139
python-version: 3.13t
140
140
- run: uv pip install --python=3.13t pip
@@ -152,7 +152,7 @@ jobs:
152
152
steps:
153
153
- uses: actions/checkout@v5
154
154
- name: Install the latest version of uv and set the python version
155
-
uses: astral-sh/setup-uv@v6
155
+
uses: astral-sh/setup-uv@v7
156
156
with:
157
157
python-version: ${{ matrix.python-version }}
158
158
- name: Test with python ${{ matrix.python-version }}
@@ -169,7 +169,7 @@ It also controls where [the venv gets created](#activate-environment).
169
169
170
170
```yaml
171
171
- name: Install uv based on the config files in the working-directory
172
-
uses: astral-sh/setup-uv@v6
172
+
uses: astral-sh/setup-uv@v7
173
173
with:
174
174
working-directory: my/subproject/dir
175
175
```
@@ -208,7 +208,7 @@ For example:
208
208
- name: Checkout the repository
209
209
uses: actions/checkout@main
210
210
- name: Install the latest version of uv
211
-
uses: astral-sh/setup-uv@v6
211
+
uses: astral-sh/setup-uv@v7
212
212
with:
213
213
enable-cache: true
214
214
- name: Test
@@ -220,7 +220,7 @@ To install a specific version of Python, use
220
220
221
221
```yaml
222
222
- name: Install the latest version of uv
223
-
uses: astral-sh/setup-uv@v6
223
+
uses: astral-sh/setup-uv@v7
224
224
with:
225
225
enable-cache: true
226
226
- name: Install Python 3.12
@@ -239,7 +239,7 @@ output:
239
239
uses: actions/checkout@main
240
240
- name: Install the default version of uv
241
241
id: setup-uv
242
-
uses: astral-sh/setup-uv@v6
242
+
uses: astral-sh/setup-uv@v7
243
243
- name: Print the installed version
244
244
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
0 commit comments