Skip to content

3DMMEx: Bump version to v0.5.0 #215

3DMMEx: Bump version to v0.5.0

3DMMEx: Bump version to v0.5.0 #215

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run clang-format
run: find . -iname '*.cpp' -o -iname '*.c' -o -iname '*.h' | xargs pipx run "clang-format>=14,<15" --style=file -i
- name: Check code is formatted
run: git diff --exit-code || (echo "Code is not formatted correctly. Please run clang-format or manually apply the changes above."; exit 1)