Update clang-pr.yml #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: clang-format Suggest | |
on: [pull_request] | |
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 | |
- uses: parkerbxyz/suggest-changes@v1 | |
with: | |
comment: 'Please commit the suggested changes from clang-format.' |