Skip to content

find . -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i #15

find . -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i

find . -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i #15

name: clang-format Check
on: [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: '18'
check-path: '.'