blob: 588ec2e5a32a248cb5c6ccd00531e6f7d77bbfb4 [file] [log] [blame]
checkformat:clangformat:
stage: checkformat
image: ubuntu:23.10
only:
- 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 clang-format-17
script:
- git clang-format-17 --diff --commit ${CI_MERGE_REQUEST_DIFF_BASE_SHA}