mirror of
https://github.com/n64decomp/mk64
synced 2026-07-01 10:58:50 -04:00
16c5c33a85
* add clang suggestion * Update clang-format-suggest.yml * Update clang-format-suggest.yml * simplify * switch to ubuntu * Update clang-format-suggest.yml * update ubuntu --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
18 lines
523 B
YAML
18 lines
523 B
YAML
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.'
|