summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-11 09:49:47 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-11 09:49:47 +0100
commit7e9ddad8efeeecb53c41c505320abec16e957c1b (patch)
tree5d0f979aec08b63f2f164b067091ac8bdeaffdac
parent62b023ecd38cdc666fa8bd738f31120013eba505 (diff)
parent02a1a335f74929b4d25028a8b80a9200d8085e57 (diff)
Merge pull request #71164 from akien-mga/ci-clang-format-15
CI: Use clang-format 15
-rw-r--r--.github/workflows/static_checks.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml
index d8951ddb78..6c9d8d30f2 100644
--- a/.github/workflows/static_checks.yml
+++ b/.github/workflows/static_checks.yml
@@ -19,14 +19,14 @@ jobs:
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-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main"
sudo apt-get update
- name: Install dependencies
run: |
- sudo apt-get install -qq dos2unix recode clang-format-13 libxml2-utils python3-pip moreutils
+ sudo apt-get install -qq dos2unix recode clang-format-15 libxml2-utils python3-pip moreutils
sudo update-alternatives --remove-all clang-format || true
- sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-13 100
+ sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-15 100
sudo pip3 install black==22.3.0 pygments pytest==7.1.2 mypy==0.971
- name: File formatting checks (file_format.sh)