File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -300,8 +300,9 @@ jobs:
300300 echo "Using run-clang-tidy from $(command -v run-clang-tidy)"
301301 CLANG_TIDY=(run-clang-tidy)
302302 else
303- echo "Downloading run-clang-tidy script"
304- wget -O run-clang-tidy.py https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/release/21.x/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
303+ RCT_URL=https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/release/21.x/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
304+ echo "Downloading run-clang-tidy script from ${RCT_URL}"
305+ echo "import urllib.request; url = '${RCT_URL}'.rstrip('/'); urllib.request.urlretrieve(url, url.split('/')[-1])" | uv run --no-project --script -
305306 CLANG_TIDY=(uv run --no-project --script -- run-clang-tidy.py)
306307 fi
307308 if [[ -x "$(command -v clang-apply-replacements)" ]]; then
You can’t perform that action at this time.
0 commit comments