mirror of
https://github.com/n64decomp/mk64
synced 2026-07-01 10:58:50 -04:00
bf9f8e37c8
* Create clang-pr.yml * Update clang-pr.yml * Update osCreateMesgQueue.c * Update osCreateMesgQueue.c * Update clang-pr.yml * Update clang-pr.yml * Update clang-format.yml
21 lines
594 B
YAML
21 lines
594 B
YAML
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
|