Skip to content

Commit

Permalink
let's check the format via some github action
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
  • Loading branch information
mgallien committed Sep 30, 2022
1 parent d740578 commit 3804821
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Clang Format Checker
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@v2.1.0
with:
sources: "src/**/*.h,src/**/*.c,src/**/*.cpp,test/**/*.c,test/**/*.cpp,shell_integration**/*.cpp"

0 comments on commit 3804821

Please sign in to comment.