Skip to content

Remove outdated Travis badge and reformat. #2

Remove outdated Travis badge and reformat.

Remove outdated Travis badge and reformat. #2

name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- 'src'
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '14'
check-path: ${{ matrix.path }}
fallback-style: 'Google' # optional