Add clang-format Github Action

This commit is contained in:
Twarit Waikar
2021-10-02 01:05:46 +05:30
parent e9f0844485
commit a480cf4b16
6 changed files with 53 additions and 73 deletions

15
.github/workflows/clang-format.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: clang-format
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.11
with:
source: "godot-git-plugin/src"
extensions: "h,cpp"
clangFormatVersion: 11