Skip to content

enable disabling inference #9264

enable disabling inference

enable disabling inference #9264

name: clang-format Check
on: [push, pull_request, workflow_dispatch]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: "src"
exclude: '\.proto$'
- check: "include"
- check: "inference"
- check: "python"
- check: "scripts"
- check: "tests"
- check: "examples"
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.8.0
with:
clang-format-version: "15"
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}