From 254affd55f107ce4d7b8c61d76bb32584abedec1 Mon Sep 17 00:00:00 2001 From: Mikhail Koviazin Date: Thu, 22 Aug 2024 15:55:39 +0200 Subject: [PATCH] github: enable clang-format-action Signed-off-by: Mikhail Koviazin --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 853d4d0..cb4af1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,12 @@ jobs: checkers: name: Run static checkers runs-on: ubuntu-latest - if: ${{ false }} # Disabled until we have merged a formatted code base. steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Run clang-format style check (.c and .h) uses: jidicula/clang-format-action@c74383674bf5f7c69f60ce562019c1c94bc1421a # v4.13.0 + with: + clang-format-version: '18' ubuntu: name: ${{ matrix.cmake-build-type }}-build [${{ matrix.compiler }}, cmake-${{ matrix.cmake-version }} sanitizer="${{ matrix.sanitizer }}"]