Skip to content

Commit

Permalink
Merge pull request #13 from winterheart/clang-format
Browse files Browse the repository at this point in the history
Formatting code with clang-format
  • Loading branch information
kevinbentley authored Apr 16, 2024
2 parents 7399b5a + 78bb130 commit cce1a49
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: clang-format Check
on:
pull_request:
branches:
- main
push:
branches:
- main
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]
with:
clang-format-version: '17'
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -396,3 +396,8 @@ FodyWeavers.xsd

# JetBrains Rider
*.sln.iml

# IDEA stuff
.idea/
cmake-build-*

0 comments on commit cce1a49

Please sign in to comment.