diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-10-28 16:01:30 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-10-28 17:11:00 +0200 |
commit | f42ef8d5f9b80095bcd817727a549a691495bb02 (patch) | |
tree | cd039cc82ec87bdcb46f03eb2c86a11e5b11ace3 /.github/workflows | |
parent | f7d852b5322104a90d45ef63c2ee54c937429487 (diff) |
CI: Update to clang-format 13 using LLVM repo
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/static_checks.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml index 0758aa90b1..e457066c6c 100644 --- a/.github/workflows/static_checks.yml +++ b/.github/workflows/static_checks.yml @@ -18,13 +18,15 @@ jobs: run: | sudo rm -f /etc/apt/sources.list.d/* sudo cp -f misc/ci/sources.list /etc/apt/sources.list + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main" sudo apt-get update - name: Install dependencies run: | - sudo apt-get install -qq dos2unix recode clang-format-12 + sudo apt-get install -qq dos2unix recode clang-format-13 sudo update-alternatives --remove-all clang-format - sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-12 100 + sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 100 sudo pip3 install black==20.8b1 pygments - name: File formatting checks (file_format.sh) |