aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format3
-rw-r--r--.github/workflows/ci.yml12
2 files changed, 14 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index cdea6de7..b55085ef 100644
--- a/.clang-format
+++ b/.clang-format
@@ -13,4 +13,5 @@ ColumnLimit: 140
BreakBeforeBraces: Allman
AlignAfterOpenBracket: AlwaysBreak
IndentExternBlock: Indent
-PointerAlignment: Left \ No newline at end of file
+PointerAlignment: Left
+SortIncludes: false \ No newline at end of file
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c7a8d832..9011329d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,3 +31,15 @@ jobs:
x64/${{ env.BUILD_PROFILE }}/*.exe
x64/${{ env.BUILD_PROFILE }}/*.pdb
x64/${{ env.BUILD_PROFILE }}/*.txt
+
+ format-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: DoozyX/clang-format-lint-action@v0.13
+ with:
+ source: 'NorthstarDedicatedTest LauncherInjector'
+ exclude: 'NorthstarDedicatedTest/include loader_launcher_proxy loader_wsock32_proxy'
+ extensions: 'h,cpp'
+ clangFormatVersion: 13
+ style: file