Skip to content

Commit

Permalink
Merge pull request #27 from VeryAmazed/ishmeals-patch-1
Browse files Browse the repository at this point in the history
Create clang-format.yml
  • Loading branch information
ishmeals authored Apr 15, 2024
2 parents 4843d9b + d20b61f commit b457842
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BasedOnStyle: LLVM
UseTab: Always
IndentWidth: 4
TabWidth: 4
10 changes: 10 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: clang-format Check
on: [push, pull_request]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]

0 comments on commit b457842

Please sign in to comment.