action:remove clang check file

the check action does not work well .
jidicula/clang-format-action@v4.5.0
RafikFarhad/clang-format-github-action@v1.0.1
This commit is contained in:
xiaoyifang 2022-02-12 20:13:08 +08:00
parent e2fe63f98f
commit d62b80d868

View file

@ -1,43 +0,0 @@
name: Clang Format Checker
on:
workflow_dispatch:
push:
paths-ignore:
- 'docs/**'
- ".github/**"
- "howto/**"
- "winlibs/**"
pull_request:
branches:
- dev
- staged
paths-ignore:
- 'docs/**'
- ".github/**"
- "howto/**"
- "winlibs/**"
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
strategy:
matrix:
path:
- exclude: "(winlibs|maclibs)" # Exclude file paths containing "hello" or "world"
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++
uses: jidicula/clang-format-action@v4.5.0
with:
clang-format-version: '13'
# check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'llvm' # optional
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@v1.0.1
with:
sources: "**/*.c,**/*.h,**/*.cc,**/*.hh,**/*.cpp,**/*.hpp"