Skip to content

Commit 794151c

Browse files
antonisclaude
andcommitted
fix(ci): Pass version arg correctly to llvm.sh
`sudo bash -c "$(cmd)" 22` passes 22 to sudo, not to the script. Use `wget | sudo bash -s 22` to correctly pass the version argument. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a749d99 commit 794151c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/buildandtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# This is required for using a newer version of clang-format.
5656
- name: Setup clang-format V22
5757
run: |
58-
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" 22
58+
wget -O - https://apt.llvm.org/llvm.sh | sudo bash -s 22
5959
sudo apt-get install -y clang-22 clang-format-22 lld-22 lldb-22
6060
6161
- name: Set clang-format V22 as default

0 commit comments

Comments
 (0)