ci: Add a PR lint workflow

This commit is contained in:
Léo Lam 2020-08-22 10:37:58 +02:00
parent 31e4ddd572
commit 87cc9104de
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
2 changed files with 13 additions and 1 deletions

12
.github/workflows/lint_pr.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: lint_pr
on: pull_request
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.8
with:
source: 'src'
exclude: 'lib'
clangFormatVersion: 10

View File

@ -6,4 +6,4 @@ namespace ksys::util {
inline void PrintDebug([[maybe_unused]] const sead::SafeString& message) {}
}
} // namespace ksys::util