Skip to content

Code Coverage Support (#1380) #7

Code Coverage Support (#1380)

Code Coverage Support (#1380) #7

name: clang-format Check
on: [push, pull_request, workflow_dispatch]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
path:
- check: "lib"
- check: "tests"
- check: "examples"
- check: "bindings"
- check: "bin"
exclude: '\.proto$'
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: lockshaw/[email protected]
with:
clang-format-version: "16"
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}