Skip to content

Commit 16230da

Browse files
committed
NO-JIRA: use setup-uv action because dockerfile_fragments.py now needs to be run with uv run (#2760)
1 parent 8876f7d commit 16230da

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/build-notebooks-TEMPLATE.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,12 @@ jobs:
325325

326326
# https://github.com/astral-sh/setup-uv
327327
- name: Install the latest version of uv
328-
uses: astral-sh/setup-uv@v5
328+
uses: astral-sh/setup-uv@v7
329329
with:
330330
version: "latest"
331331
python-version: "3.14"
332332
enable-cache: true
333333
cache-dependency-glob: "uv.lock"
334-
pyproject-file: "pyproject.toml"
335334

336335
- name: Check uv is installed correctly
337336
run: uv version

.github/workflows/code-quality.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v5
1616

17-
- uses: actions/setup-python@v5
17+
# https://github.com/astral-sh/setup-uv
18+
- name: Install the latest version of uv
19+
uses: astral-sh/setup-uv@v7
1820
with:
19-
python-version-file: '.python-version'
21+
version: "latest"
22+
python-version: "3.14"
23+
enable-cache: true
24+
cache-dependency-glob: "uv.lock"
2025

2126
- name: Rerun all code generators we have
2227
run: bash ci/generate_code.sh
@@ -40,13 +45,12 @@ jobs:
4045

4146
# https://github.com/astral-sh/setup-uv
4247
- name: Install the latest version of uv
43-
uses: astral-sh/setup-uv@v5
48+
uses: astral-sh/setup-uv@v7
4449
with:
4550
version: "latest"
4651
python-version: "3.14"
4752
enable-cache: true
4853
cache-dependency-glob: "uv.lock"
49-
pyproject-file: "pyproject.toml"
5054

5155
- name: Check uv is installed correctly
5256
run: uv version

.github/workflows/docs.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ jobs:
2020

2121
# https://github.com/astral-sh/setup-uv
2222
- name: Install the latest version of uv
23-
uses: astral-sh/setup-uv@v5
23+
uses: astral-sh/setup-uv@v7
2424
with:
2525
version: "latest"
2626
python-version: "3.14"
2727
enable-cache: true
2828
cache-dependency-glob: "uv.lock"
29-
pyproject-file: "pyproject.toml"
3029

3130
- name: Run the release notes script
3231
run: |

ci/generate_code.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ set -Eeuxo pipefail
33

44
uv --version || pip install "uv==0.9.6"
55

6-
python3 scripts/dockerfile_fragments.py
6+
uv run scripts/dockerfile_fragments.py
77
bash scripts/pylocks_generator.sh

0 commit comments

Comments
 (0)