Skip to content

Commit

Permalink
CI: change github action which runs clang-format checks
Browse files Browse the repository at this point in the history
  • Loading branch information
piponazo committed Mar 16, 2022
1 parent 167b450 commit 33fb2ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/on_push_clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@v2.0.0
- uses: DoozyX/clang-format-lint-action@v0.13
with:
sources: "src/*.cpp,src/*.hpp,unitTests/*.cpp,include/exiv2/*.hpp,app/*.cpp,app/*.hpp,app/*.c,samples/*.cpp,samples/*.h*,samples/*.cpp"
source: '.'
exclude: './xmpsdk ./contrib'
extensions: 'c,h,cpp,hpp'
clangFormatVersion: 12
style: file

0 comments on commit 33fb2ba

Please sign in to comment.