@@ -71,10 +71,10 @@ jobs:
7171 with :
7272 persist-credentials : false
7373
74- - name : Install Python
75- uses : actions /setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
74+ - name : Set up uv
75+ uses : astral-sh /setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
7676 with :
77- python-version : " 3.11 "
77+ enable-cache : false
7878
7979 - name : Set up Docker Buildx
8080 uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
8888
8989 - name : Generate Dockerfiles
9090 run : |
91- ./build-linux .py --make-target empty
91+ ./build-uv .py --make-target empty
9292 repo_name=$(echo "${GITHUB_REPOSITORY,,}" | sed 's|\.|_|g')
9393 git_ref_name=$(echo "${GITHUB_REF_NAME,,}" | sed 's|[^a-z0-9_-]|_|g')
9494 echo "REPO_NAME=${repo_name}" >> "${GITHUB_ENV}"
@@ -150,8 +150,10 @@ jobs:
150150 fetch-depth : 0
151151 persist-credentials : false
152152
153- - name : Set up Python
154- uses : astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4.2.0
153+ - name : Set up uv
154+ uses : astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
155+ with :
156+ enable-cache : false
155157
156158 - name : Get pull request labels
157159 id : get-labels
@@ -222,10 +224,10 @@ jobs:
222224 fetch-depth : 0
223225 persist-credentials : false
224226
225- - name : Install Python
226- uses : actions /setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
227+ - name : Set up uv
228+ uses : astral-sh /setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
227229 with :
228- python-version : " 3.11 "
230+ enable-cache : false
229231
230232 - name : Download pythonbuild
231233 uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
@@ -265,12 +267,12 @@ jobs:
265267 if : ${{ ! matrix.dry-run }}
266268 run : |
267269 # Do empty target so all generated files are touched.
268- ./build-linux .py --make-target empty
270+ ./build-uv .py --make-target empty
269271
270272 # Touch mtimes of all images so they are newer than autogenerated files above.
271273 touch build/image-*
272274
273- ./build-linux .py --target-triple ${MATRIX_TARGET_TRIPLE} --python cpython-${MATRIX_PYTHON} --options ${MATRIX_BUILD_OPTIONS}
275+ ./build-uv .py --target-triple ${MATRIX_TARGET_TRIPLE} --python cpython-${MATRIX_PYTHON} --options ${MATRIX_BUILD_OPTIONS}
274276 env :
275277 MATRIX_TARGET_TRIPLE : ${{ matrix.target_triple }}
276278 MATRIX_PYTHON : ${{ matrix.python }}
@@ -330,10 +332,10 @@ jobs:
330332 fetch-depth : 0
331333 persist-credentials : false
332334
333- - name : Install Python
334- uses : actions /setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
335+ - name : Set up uv
336+ uses : astral-sh /setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
335337 with :
336- python-version : " 3.11 "
338+ enable-cache : false
337339
338340 - name : Download pythonbuild
339341 uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
@@ -373,12 +375,12 @@ jobs:
373375 if : ${{ ! matrix.dry-run }}
374376 run : |
375377 # Do empty target so all generated files are touched.
376- ./build-linux .py --make-target empty
378+ ./build-uv .py --make-target empty
377379
378380 # Touch mtimes of all images so they are newer than autogenerated files above.
379381 touch build/image-*
380382
381- ./build-linux .py --target-triple ${MATRIX_TARGET_TRIPLE} --python cpython-${MATRIX_PYTHON} --options ${MATRIX_BUILD_OPTIONS}
383+ ./build-uv .py --target-triple ${MATRIX_TARGET_TRIPLE} --python cpython-${MATRIX_PYTHON} --options ${MATRIX_BUILD_OPTIONS}
382384 env :
383385 MATRIX_TARGET_TRIPLE : ${{ matrix.target_triple }}
384386 MATRIX_PYTHON : ${{ matrix.python }}
0 commit comments