Skip to content

Commit 84f6e0e

Browse files
authored
ci: bump setup-uv to maintained tag scheme (#777)
* ci: bump setup-uv to maintained tag scheme The old vX tags have been dropped to (force) (usually) better security practices. Dependabot will not update, however, leaving this v7 tag forever. Manually updating now. See astral-sh/setup-uv#830 Committed via https://github.com/asottile/all-repos * chore: update the rest of the setup-uv mentions Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 parent 1542452 commit 84f6e0e

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
app-id: ${{ secrets.APP_ID }}
2020
private-key: ${{ secrets.APP_PRIVATE_KEY }}
2121
- uses: actions/checkout@v6
22-
- uses: astral-sh/setup-uv@v7
22+
- uses: astral-sh/setup-uv@v8.0.0
2323
- run: uvx nox -s pc_bump
2424
env:
2525
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/reusable-cookie.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
allow-prereleases: true
4141

4242
- name: Setup uv
43-
uses: astral-sh/setup-uv@v7
43+
uses: astral-sh/setup-uv@v8.0.0
4444

4545
- name: Install nox
4646
run: uv tool install nox
@@ -112,7 +112,7 @@ jobs:
112112
allow-prereleases: true
113113

114114
- name: Setup uv
115-
uses: astral-sh/setup-uv@v7
115+
uses: astral-sh/setup-uv@v8.0.0
116116

117117
- name: Install nox
118118
run: uv tool install nox

.github/workflows/reusable-rr-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
python-version: ${{ matrix.python-version }}
2929
allow-prereleases: true
3030

31-
- uses: astral-sh/setup-uv@v7
31+
- uses: astral-sh/setup-uv@v8.0.0
3232

3333
- name: Test package
3434
run: uv run pytest -ra
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
python-version: "3.13"
6060

61-
- uses: astral-sh/setup-uv@v7
61+
- uses: astral-sh/setup-uv@v8.0.0
6262

6363
- name: Rerender README
6464
run: |
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
python-version: "3.13"
7979

80-
- uses: astral-sh/setup-uv@v7
80+
- uses: astral-sh/setup-uv@v8.0.0
8181

8282
- name: Run pylint
8383
run: uvx nox -s rr_pylint -- --output-format=github

docs/pages/guides/gha_basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ tests:
115115
allow-prereleases: true
116116
117117
- name: Download uv
118-
uses: astral-sh/setup-uv@v7
118+
uses: astral-sh/setup-uv@v8.0.0
119119
120120
- name: Test package
121121
run: uv run pytest

docs/pages/guides/gha_wheels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ make_sdist:
8383
with:
8484
fetch-depth: 0 # Optional, use if you use setuptools_scm
8585
submodules: true # Optional, use if you have submodules
86-
- uses: astral-sh/setup-uv@v7
86+
- uses: astral-sh/setup-uv@v8.0.0
8787
8888
- name: Build SDist
8989
run: uv build --sdist
@@ -125,7 +125,7 @@ build_wheels:
125125
fetch-depth: 0
126126
submodules: true
127127
128-
- uses: astral-sh/setup-uv@v7
128+
- uses: astral-sh/setup-uv@v8.0.0
129129
130130
- uses: pypa/cibuildwheel@v3.4
131131

docs/pages/guides/tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ You can install `uv` with `pipx`, `brew`, etc. If you want to use uv in GitHub
319319
Actions, one way is to use this:
320320

321321
```yaml
322-
- uses: astral-sh/setup-uv@v7
322+
- uses: astral-sh/setup-uv@v8.0.0
323323
```
324324

325325
Check your jobs with `uv`; most things do not need to change. The main

{{cookiecutter.project_name}}/.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
with:
3333
python-version: "3.x"
3434

35-
- uses: astral-sh/setup-uv@v7
35+
- uses: astral-sh/setup-uv@v8.0.0
3636

3737
- uses: j178/prek-action@v2
3838

@@ -67,7 +67,7 @@ jobs:
6767
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
6868
allow-prereleases: true
6969

70-
- uses: astral-sh/setup-uv@v7
70+
- uses: astral-sh/setup-uv@v8.0.0
7171

7272
{%- if cookiecutter.backend == "mesonpy" %}
7373

{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %}

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
fetch-depth: 0
5656

57-
- uses: astral-sh/setup-uv@v7
57+
- uses: astral-sh/setup-uv@v8.0.0
5858

5959
- uses: pypa/cibuildwheel@v3.4
6060

0 commit comments

Comments
 (0)