diff --git a/.github/workflows/lint_pr.yml b/.github/workflows/lint_pr.yml new file mode 100644 index 00000000..58ecc968 --- /dev/null +++ b/.github/workflows/lint_pr.yml @@ -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 diff --git a/src/KingSystem/Utils/Debug.h b/src/KingSystem/Utils/Debug.h index a80b02d0..72e4ab5b 100644 --- a/src/KingSystem/Utils/Debug.h +++ b/src/KingSystem/Utils/Debug.h @@ -6,4 +6,4 @@ namespace ksys::util { inline void PrintDebug([[maybe_unused]] const sead::SafeString& message) {} -} +} // namespace ksys::util