Skip to content

Commit

Permalink
add clang-format checker
Browse files Browse the repository at this point in the history
  • Loading branch information
hnwyllmm committed Nov 16, 2023
1 parent 0b91ed4 commit 7a3492b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Clang Format Checker
on:
pull_request:
branches: [ "main" ]
jobs:
clang-format-checking:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: RafikFarhad/clang-format-github-action@v3
with:
sources: "**/*.h,**/*.cpp"
excludes: "yacc_sql.cpp,yacc_sql.hpp,lex_sql.cpp,lex_sql.h"
style: "file"

0 comments on commit 7a3492b

Please sign in to comment.