Fix up clang-format CI.

This commit is contained in:
Antonio Sánchez 2023-12-14 00:15:11 +00:00
parent 85efa83292
commit 9697d481c8

View File

@ -5,7 +5,8 @@ checkformat:clangformat:
- merge_requests
allow_failure: true
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update -y
- apt-get install -y --no-install-recommends git clang-format-17
- apt-get install -y --no-install-recommends git clang-format clang-format-17
script:
- git clang-format-17 --diff --commit ${CI_MERGE_REQUEST_DIFF_BASE_SHA}