From 5d454c4733bdf1bf17ada5c6abe282f266cecd21 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Mon, 6 Jan 2025 15:51:41 +0100 Subject: [PATCH] Verify formatting using clang-format --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c438095..f29d1c27 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,19 @@ on: # cancel-in-progress: true jobs: + verify-formatting: + name: Verify Formatting + runs-on: ubuntu-24.04 + steps: + - name: Checkout Source + uses: actions/checkout@v4 + + - name: Verify Formatting + uses: jidicula/clang-format-action@v4.14.0 + with: + clang-format-version: '19' + check-path: 'src' + dump-registry: name: Dump Registry runs-on: windows-latest