@@ -281,7 +281,9 @@ jobs:
281281 shell : bash
282282
283283 - name : Install uv
284- run : curl -LsSf --retry 2 --retry-delay 10 --retry-max-time 60 https://astral.sh/uv/0.6.17/install.sh | sh
284+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a
285+ with :
286+ version : " 0.6.17"
285287
286288 - name : Generate Python schemas
287289 run : pnpm generate-python-schemas
@@ -317,7 +319,9 @@ jobs:
317319 cache-provider : " buildjet"
318320 save-if : ${{ github.event_name == 'merge_group' }}
319321 - name : Install uv
320- run : powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
322+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a
323+ with :
324+ version : " 0.6.17"
321325 - name : Install Python 3.10
322326 run : uv python install 3.10
323327 - name : Set PYO3_PYTHON
@@ -384,7 +388,9 @@ jobs:
384388 run : rustc --version
385389
386390 - name : Install uv
387- run : curl -LsSf --retry 2 --retry-delay 10 --retry-max-time 60 https://astral.sh/uv/0.6.17/install.sh | sh
391+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a
392+ with :
393+ version : " 0.6.17"
388394
389395 - name : uv-lock
390396 run : |
@@ -628,7 +634,9 @@ jobs:
628634 shell : bash
629635
630636 - name : Install uv
631- run : curl -LsSf --retry 2 --retry-delay 10 --retry-max-time 60 https://astral.sh/uv/0.6.17/install.sh | sh
637+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a
638+ with :
639+ version : " 0.6.17"
632640
633641 - name : Install JS dependencies
634642 run : pnpm install --frozen-lockfile
@@ -780,7 +788,9 @@ jobs:
780788 ./ui/fixtures/s3-fixtures/
781789
782790 - name : Install uv
783- run : curl -LsSf --retry 2 --retry-delay 10 --retry-max-time 60 https://astral.sh/uv/0.6.17/install.sh | sh
791+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a
792+ with :
793+ version : " 0.6.17"
784794
785795 - name : Download container images
786796 run : |
@@ -969,7 +979,11 @@ jobs:
969979 tool : cargo-nextest
970980
971981 - name : Install uv
972- run : curl -LsSf --retry 2 --retry-delay 10 --retry-max-time 60 https://astral.sh/uv/0.6.17/install.sh | sh
982+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a
983+ with :
984+ version : " 0.6.17"
985+ # Without this, the post-install hook tries to prune and save the cache, but ./ci/free-disk-space.sh already nukes /opt/hostedtoolcache/*, so it fails.
986+ enable-cache : " false"
973987
974988 - name : Download ClickHouse fixtures
975989 run : uv run ./ui/fixtures/download-fixtures.py
0 commit comments