Github Action applying the LLVM clang format to C/C++ code.
This Action checks the code using clang-format with the default LLVM configuration.
- Checks C/C++ code formatting
- Supports push triggers
- Future Enhancement: support automatic formatting and commit
on: push
jobs:
format:
name: clang formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: unspun/[email protected]