chore: enforce InsertNewlineAtEOF in clang-format (#4343)

* style: insert newline at eof

* style: use `InsertNewlineAtEOF` in `clang-format`

* fix: use `clang-format-16`

* chore: update clang-format-lint-action to v0.16.2

---------

Co-authored-by: Debasish Biswas <debasishbsws.dev@gmail.com>
This commit is contained in:
Piotr Idzik 2023-09-01 06:10:46 +02:00 committed by GitHub
parent 78ca465b1e
commit f010a47608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
42 changed files with 43 additions and 42 deletions

View File

@ -83,6 +83,7 @@ IndentGotoLabels: true
IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
InsertNewlineAtEOF: true
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true

View File

@ -9,8 +9,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.13
- uses: DoozyX/clang-format-lint-action@v0.16.2
with:
source: './src'
extensions: 'java'
clangFormatVersion: 12
clangFormatVersion: 16