summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/clang-format-check.yml4
-rw-r--r--.github/workflows/clang-format-fix.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml
index 4f696e7..0343f4b 100644
--- a/.github/workflows/clang-format-check.yml
+++ b/.github/workflows/clang-format-check.yml
@@ -8,11 +8,11 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- - name: Run clang-format style check for C programs.
+ - name: Run clang-format style check for C and java programs.
uses: DoozyX/clang-format-lint-action@v0.11
with:
source: '.'
- extensions: 'c,h,cpp,hpp'
+ extensions: 'c,h,cpp,hpp,java'
clangFormatVersion: 10
style: file
exclude: './config ./hl/src/H5LTanalyze.c ./hl/src/H5LTparse.c ./hl/src/H5LTparse.h ./src/H5Epubgen.h ./src/H5Einit.h ./src/H5Eterm.h ./src/H5Edefin.h ./src/H5version.h ./src/H5overflow.h'
diff --git a/.github/workflows/clang-format-fix.yml b/.github/workflows/clang-format-fix.yml
index 082d617..abdd069 100644
--- a/.github/workflows/clang-format-fix.yml
+++ b/.github/workflows/clang-format-fix.yml
@@ -9,11 +9,11 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-ci')"
steps:
- uses: actions/checkout@v2
- - name: Run clang-format style check for C programs.
+ - name: Run clang-format style check for C and Java programs.
uses: DoozyX/clang-format-lint-action@v0.11
with:
source: '.'
- extensions: 'c,h,cpp,hpp'
+ extensions: 'c,h,cpp,hpp,java'
clangFormatVersion: 10
inplace: True
style: file