aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBarichello <artur@barichello.me>2022-02-01 16:27:53 -0300
committerBarichello <artur@barichello.me>2022-02-03 22:05:37 -0300
commite9f93ba2e8b9df280aed20131a1606d731d2dbbe (patch)
treeea37f5df2afa6427956e849b7300bc11cfdedf74 /.github
parent02bcf4d9b16ff3a4c78bcb1330a3f0d781ce1ab8 (diff)
downloadNorthstarLauncher-e9f93ba2e8b9df280aed20131a1606d731d2dbbe.tar.gz
NorthstarLauncher-e9f93ba2e8b9df280aed20131a1606d731d2dbbe.zip
Add format-check ci stage
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 12 insertions, 0 deletions
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