Skip to content

ydoy2mjd

ydoy2mjd #92

name: clang-format Check
on:
push:
branches: [ "master", "cleanup" ]
pull_request:
branches: [ "master" ]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
- 'test'
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: ${{ matrix.path }}
fallback-style: 'LLVM' # optional