3DMMEx: Bump version to v0.5.0 #215
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |