From 4880e609af65d3cf0a10d71eec72d3013945fcc9 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sun, 10 Jan 2021 00:51:48 +0100 Subject: [PATCH] CI: Switch to new clang-format --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0ac4c755..73e8f0dc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,7 +49,7 @@ clang_format: - master before_script: - apt-get update - - apt-get install --yes --no-install-recommends git clang-format-10 + - apt-get install --yes --no-install-recommends git clang-format-11 script: - - find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format-10 -i {} \; + - find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format-11 -i {} \; - git diff --exit-code