name: clang-format on: push: paths-ignore: - 'README.md' - 'doc/**' pull_request: paths-ignore: - 'README.md' - 'doc/**' jobs: clang-format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: DoozyX/clang-format-lint-action@v0.13 with: extensions: 'hpp,cpp' clangFormatVersion: 13