Add clang-format

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
This commit is contained in:
2024-06-01 13:05:33 +02:00
parent 2090cf90de
commit 12149986c4
8 changed files with 120 additions and 81 deletions

View File

@@ -0,0 +1,14 @@
name: Check code formatting
on:
push:
jobs:
Check-C-Format:
runs-on: ubuntu-22.04-full
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run clang format
run: |
cmake software -B build
cmake --build build -- check-format