diff options
| author | Pheenoh <pheenoh@gmail.com> | 2020-12-26 13:18:14 -0500 |
|---|---|---|
| committer | Pheenoh <pheenoh@gmail.com> | 2020-12-26 13:18:14 -0500 |
| commit | d23b63c7cb7ec6edf4950932ba70e0c745bdce5f (patch) | |
| tree | e3c88a9f5196ddc0f1f904421899b623a84dd9dc /.github | |
| parent | 9e442d11ca3b21558b5758194b15ef2739691570 (diff) | |
add clang-format CI check
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/clang-format-check.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/ok-check.yml (renamed from .github/workflows/c-cpp.yml) | 0 |
2 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml new file mode 100644 index 0000000000..789f7ca5c9 --- /dev/null +++ b/.github/workflows/clang-format-check.yml @@ -0,0 +1,15 @@ +name: Clang Format Check + +on: pull_request + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: DoozyX/clang-format-lint-action@v0.11 + with: + source: '.' + extensions: 'h,cpp' + clangFormatVersion: 11
\ No newline at end of file diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/ok-check.yml index c9da2299e2..c9da2299e2 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/ok-check.yml |
