Skip to content

Merge pull request #34 from nrl-ai/upgrade-submodules #420

Merge pull request #34 from nrl-ai/upgrade-submodules

Merge pull request #34 from nrl-ai/upgrade-submodules #420

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'src'
exclude: 'third_party'
- check: 'include'
exclude: 'third_party'
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'Google' # optional