Skip to content

Local execution tests #8861

Local execution tests

Local execution tests #8861

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'] }}