From eb1f9899351813ea146d60d620f5bf73a53f1e0d Mon Sep 17 00:00:00 2001 From: partouf Date: Fri, 27 Oct 2023 13:23:33 +0200 Subject: [PATCH] .. --- .github/workflows/check-format.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/check-format.yaml diff --git a/.github/workflows/check-format.yaml b/.github/workflows/check-format.yaml new file mode 100644 index 0000000..bbb3aa2 --- /dev/null +++ b/.github/workflows/check-format.yaml @@ -0,0 +1,27 @@ +name: Check Code Formatting 🛠️ +on: + workflow_call: +jobs: + clang-format: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: clang-format check 🐉 + id: clang-format + uses: ./.github/actions/run-clang-format + with: + failCondition: error + + cmake-format: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: cmake-format check 🎛️ + id: cmake-format + uses: ./.github/actions/run-cmake-format + with: + failCondition: error