mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
GitHub Actions for clang-format check
First QoL check for code health. This action will be executed on each pull request including this one.
This commit is contained in:
parent
4470d664dd
commit
78bb130bac
18
.github/workflows/clang-format-check.yml
vendored
Normal file
18
.github/workflows/clang-format-check.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: clang-format Check
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
formatting-check:
|
||||
name: Formatting Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run clang-format style check for C/C++/Protobuf programs.
|
||||
uses: jidicula/clang-format-action@v4.11.0
|
||||
with:
|
||||
clang-format-version: '17'
|
Loading…
Reference in New Issue
Block a user