Re-added clang-format checks to the CI

This commit is contained in:
Marc Gilleron
2021-02-01 00:15:22 +00:00
parent 9598fd5c8e
commit 1f7f66d09e
5 changed files with 60 additions and 53 deletions

View File

@@ -124,3 +124,18 @@ jobs:
name: godot-cpp-macos-x86_64-release
path: bin/libgodot-cpp.osx.release.64.a
if-no-files-found: error
static-checks:
name: Static Checks (clang-format)
runs-on: ubuntu-16.04
steps:
- name: Checkout
uses: actions/checkout@v2.3.4
- name: Install dependencies
run: |
sudo apt-get install clang-format-8
- name: Style checks via clang-format
run: |
bash ./misc/scripts/clang_format.sh