Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang pr #679

Merged
merged 7 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push]
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
path:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/clang-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: clang-format PR
on: [push]
jobs:
formatting-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Dependance
run: |
sudo apt install clang-format make
- name: Run clang-format style check for C/C++/Protobuf programs.
run: |
clang-format --version
python tools/format.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: clang format
title: Applid Clang format on the branch
branch: clang-format
Loading