Merge pull request #5 from diamante0018/diamante0018-patch-1

Create clang-format-check.yml
This commit is contained in:
6arelyFuture 2022-03-08 16:52:41 -05:00 committed by GitHub
commit 71e6a67839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,13 @@
name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.6.2
with:
clang-format-version: '14'
check-path: 'src'