Skip to content

Clang-format Check #472

Clang-format Check

Clang-format Check #472

name: clang-format-check
run-name: Clang-format Check
on: [workflow_dispatch, push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '16'
check-path: 'src'
fallback-style: 'LLVM' # optional