Skip to content

update

update #9552

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/[email protected]
with:
clang-format-version: "15"
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}