mirror of
https://github.com/n64decomp/mk64
synced 2026-07-10 21:40:58 -04:00
Clang suggest (#678)
* 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>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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.'
|
||||
@@ -1,5 +1,5 @@
|
||||
name: clang-format Check
|
||||
on: [push, pull_request]
|
||||
on: [push]
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
|
||||
Reference in New Issue
Block a user