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 1
1
---
2
-
3
2
name : clang-format style check
4
3
5
4
on : # yamllint disable-line rule:truthy
25
24
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
26
25
sudo apt-add-repository "deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main"
27
26
sudo apt-get -y update
28
- sudo apt-get -y install --no-install-recommends --no-install-suggests clang-format
27
+ sudo apt-get -y install --no-install-recommends --no-install-suggests clang-format-19
28
+ sudo update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-19) 100
29
+ sudo update-alternatives --set clang-format $(update-alternatives --list clang-format | grep clang-format-19)
29
30
# yamllint enable rule:line-length
30
31
31
32
- name : Check Tools
You can’t perform that action at this time.
0 commit comments