CI: Update to clang-format 11 and apply ternary operator changes

(cherry picked from commit af878716f2)
This commit is contained in:
Rémi Verschelde
2021-01-12 16:57:55 +01:00
parent ef683e761d
commit 188609e5ab
15 changed files with 41 additions and 39 deletions

View File

@ -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)