mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
Rename clang-format fix action (#2550)
The clang-format fix and check actions have the same name. This also makes some small changes to the action's text fields.
This commit is contained in:
parent
19a9b12eea
commit
469a93790e
2
.github/workflows/clang-format-check.yml
vendored
2
.github/workflows/clang-format-check.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clang-format style check for C and Java programs.
|
||||
- name: Run clang-format style check for C and Java code
|
||||
uses: DoozyX/clang-format-lint-action@v0.13
|
||||
with:
|
||||
source: '.'
|
||||
|
6
.github/workflows/clang-format-fix.yml
vendored
6
.github/workflows/clang-format-fix.yml
vendored
@ -1,15 +1,15 @@
|
||||
name: clang-format Check
|
||||
name: clang-format Commit Changes
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
name: Commit Format Changes
|
||||
runs-on: ubuntu-latest
|
||||
if: "!contains(github.event.head_commit.message, 'skip-ci')"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run clang-format style check for C and Java programs.
|
||||
- name: Fix C and Java formatting issues detected by clang-format
|
||||
uses: DoozyX/clang-format-lint-action@v0.13
|
||||
with:
|
||||
source: '.'
|
||||
|
Loading…
Reference in New Issue
Block a user