Add clang-format
Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
This commit is contained in:
14
.gitea/workflows/check-format.yaml
Normal file
14
.gitea/workflows/check-format.yaml
Normal 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
|
||||
Reference in New Issue
Block a user