CI: Update to clang-format 11 and apply ternary operator changes
(cherry picked from commit af878716f2)
This commit is contained in:
4
.github/workflows/static_checks.yml
vendored
4
.github/workflows/static_checks.yml
vendored
@ -18,7 +18,9 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get install -qq dos2unix recode clang-format
|
||||
sudo apt-get install -qq dos2unix recode clang-format-11
|
||||
sudo update-alternatives --remove-all clang-format
|
||||
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100
|
||||
sudo pip3 install black==20.8b1 pygments
|
||||
|
||||
- name: File formatting checks (file_format.sh)
|
||||
|
||||
Reference in New Issue
Block a user