Add clang-format changes from develop.
This commit is contained in:
16
.github/workflows/clang-format-check.yml
vendored
Normal file
16
.github/workflows/clang-format-check.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: clang-format Check
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run clang-format style check for C programs.
|
||||
uses: DoozyX/clang-format-lint-action@v0.8
|
||||
with:
|
||||
source: '.'
|
||||
extensions: 'c,h,cpp'
|
||||
clangFormatVersion: 10
|
||||
style: file
|
||||
exclude: './config ./hl/src/H5LTanalyze.c'
|
||||
Reference in New Issue
Block a user