Skip to content

Commit a020a46

Browse files
committed
[ci] install and use clang-format 20
1 parent 257db7d commit a020a46

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/code_analysis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,11 @@ jobs:
3737
- name: Determine merge base
3838
run: echo "MERGE_BASE=$(git merge-base ${{ github.event.pull_request.base.sha }} HEAD)" >> $GITHUB_ENV
3939
- name: install clang-format
40-
run: sudo apt-get install -y clang-format
40+
run: |
41+
wget https://apt.llvm.org/llvm.sh
42+
chmod u+x ./llvm.sh
43+
sudo ./llvm.sh 20
44+
sudo apt-get install -y clang-format-20
4145
- name: run clang-format script
4246
run: .ci/format_script.sh
4347

0 commit comments

Comments
 (0)