Skip to content

Clang-format / Clang-tidy #4

Clang-format / Clang-tidy

Clang-format / Clang-tidy #4

name: clang-format Check
on:
pull_request:
push:
branches:
- clang-format
# - develop
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'src'
exclude: '(Dummy|Sample|Coroutine)'
# - check: 'docs'
# exclude: ''
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '13'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'Mozilla'