Skip to content

better cmake

better cmake #9

name: clang-format Check
on:
push:
branches: [ "master", "cleanup" ]
pull_request:
branches: [ "master" ]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'test/unit_tests'
- 'include/core'
- 'include'
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '17'
check-path: ${{ matrix.path }}
fallback-style: 'LLVM' # optional