File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 - uses : actions/checkout@v6
1111 - name : " Install clang-format"
1212 run : |
13- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
14- sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-21 main"
15- sudo apt-get update
16- sudo apt-get install clang-format-21
17- sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-21 100
13+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
14+ sudo add-apt-repository "deb http://apt.llvm.org/$(lsb_release -cs)/ llvm-toolchain-$(lsb_release -cs)-21 main"
15+ sudo apt-get update
16+ sudo apt-get install clang-format-21
17+ sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-21 100
1818 - name : " Format Codes"
1919 run : find src/ -type f \( -name "*.cpp" -o -name "*.h" -o -name "*.hpp" \) -exec clang-format -i {} +
2020 - name : Check diff
You can’t perform that action at this time.
0 commit comments