@@ -169,7 +169,8 @@ jobs:
169169
170170 - name : Install deps (Ubuntu)
171171 if : startsWith(matrix.os, 'ubuntu')
172- run : sudo apt-get update && sudo apt-get install -y zlib1g-dev ccache
172+ timeout-minutes : 10
173+ run : APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev ccache
173174
174175 # Ubuntu 23.10+ ships kernel.apparmor_restrict_unprivileged_userns=1, which
175176 # blocks unshare(CLONE_NEWUSER) for unprivileged users. Without this, the
@@ -370,14 +371,16 @@ jobs:
370371 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
371372
372373 - name : Install deps
373- run : sudo apt-get update && sudo apt-get install -y zlib1g-dev ccache
374+ timeout-minutes : 10
375+ run : APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y zlib1g-dev ccache
374376
375377 - name : Install LLVM 21 (pinned diagnostic toolchain)
378+ timeout-minutes : 10
376379 run : |
377380 wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
378381 echo "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main" | sudo tee /etc/apt/sources.list.d/llvm-21.list
379- sudo apt-get update
380- sudo apt-get install -y clang-21
382+ APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update
383+ sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang-21
381384
382385 - name : Compiler cache (content-verified, restore)
383386 uses : actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
@@ -528,7 +531,8 @@ jobs:
528531
529532 - name : Install deps (Ubuntu)
530533 if : runner.os == 'Linux'
531- run : sudo apt-get update && sudo apt-get install -y clang zlib1g-dev ccache
534+ timeout-minutes : 10
535+ run : APT_RETRIES=3; [ -f /etc/apt/apt-mirrors.txt ] && APT_RETRIES=0; sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 --error-on=any update && sudo apt-get -o Acquire::Retries=$APT_RETRIES -o Acquire::http::Timeout=30 -o Acquire::https::Timeout=30 install -y clang zlib1g-dev ccache
532536
533537 - name : Install deps (macOS)
534538 if : runner.os == 'macOS'
@@ -590,7 +594,7 @@ jobs:
590594 # preflight script, so AV-interaction coverage lives there; runners run
591595 # without RTP by platform constraint.
592596
593- - uses : msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
597+ - uses : msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
594598 with :
595599 msystem : ${{ matrix.msystem }}
596600 path-type : inherit
@@ -742,7 +746,7 @@ jobs:
742746 steps :
743747 - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
744748
745- - uses : msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2
749+ - uses : msys2/setup-msys2@ec48f7c5447b3140e2b088413ae3a55687bccb6e # v2
746750 with :
747751 msystem : CLANG64
748752 path-type : inherit
0 commit comments