From 8b73c3cc0b2cdf5085ffc69d2b61cbccfd26fe6a Mon Sep 17 00:00:00 2001 From: Alex Fikl Date: Fri, 26 Apr 2024 02:25:21 +0300 Subject: [PATCH] ci: add clang-format check (#68) --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a1c20e..329bd07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,17 @@ concurrency: cancel-in-progress: true jobs: + clang-format: + name: Formatting (clang-format) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run clang-format + uses: jidicula/clang-format-action@v4.11.0 + with: + clang-format-version: '13' + check-path: '.' + linux-qt: name: Build (Linux/Qt) runs-on: ubuntu-latest @@ -66,7 +77,7 @@ jobs: cmake --build build macos: - name: Build (macOS) + name: Build (macOS/Qt) runs-on: macos-latest steps: - uses: actions/checkout@v4