aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6e0f28f5..e6048a57 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,3 +48,13 @@ jobs:
extensions: 'h,cpp'
clangFormatVersion: 16
style: file
+
+ format-check-cmake-files:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - uses: puneetmatharu/cmake-format-lint-action@v1.0.4
+ with:
+ args: "--in-place"
+ - run: |
+ git diff --exit-code