From 47fc75155cbc949819d18259e7d0b339a8025f0c Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 17 Oct 2023 10:13:50 +0100 Subject: [PATCH] ci: Update from clang-format-11 to clang-format-14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since upgrading to Debian Bookworm in 13c359536, `clang-format-14` is what’s available in the CI image. This should fix the style-check-advisory CI job. Signed-off-by: Philip Withnall --- .gitlab-ci/run-style-check-diff.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/run-style-check-diff.sh b/.gitlab-ci/run-style-check-diff.sh index 651f384fa..efe88abc3 100755 --- a/.gitlab-ci/run-style-check-diff.sh +++ b/.gitlab-ci/run-style-check-diff.sh @@ -9,7 +9,7 @@ ancestor_horizon=28 # days (4 weeks) source .gitlab-ci/search-common-ancestor.sh -git diff -U0 --no-color "${newest_common_ancestor_sha}" | .gitlab-ci/clang-format-diff.py -binary "clang-format-11" -p1 +git diff -U0 --no-color "${newest_common_ancestor_sha}" | .gitlab-ci/clang-format-diff.py -binary "clang-format-14" -p1 ) exit_status=$?