name: Clang Format on: push: pull_request: branches: [ master ] jobs: clang-format-checking: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: RafikFarhad/clang-format-github-action@v1.0.1 with: sources: "src/**/*.h,src/**/*.cpp" style: file