Create clang-format-check.yml

This commit is contained in:
6arelyFuture 2022-03-08 21:50:52 +00:00 committed by GitHub
parent c4071d34b4
commit 5c960d7862
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'