diff --git a/.clang-format b/.clang-format index 344dea5b..507daa4b 100644 --- a/.clang-format +++ b/.clang-format @@ -38,7 +38,7 @@ CommentPragmas: '^ IWYU pragma:' ConstructorInitializerIndentWidth: 0 IndentWidth: 4 Language: Cpp -MaxEmptyLinesToKeep: 2 +MaxEmptyLinesToKeep: 1 PackConstructorInitializers: CurrentLine PointerAlignment: Left TabWidth: 4 diff --git a/.clang-tidy b/.clang-tidy index 2ac142e3..24731938 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,11 +1,12 @@ --- -Checks: ' +Checks: ' bugprone-*, clang-analyzer-*, concurrency-*, cppcoreguidelines-*, llvm-*, misc-*, +modernize-*, performance-*, portability-*, readability-* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f859056c..2fc33a60 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,7 +46,9 @@ jobs: steps: - uses: actions/checkout@v4 - - id: cpp-linter-action + - env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + id: cpp-linter-action uses: cpp-linter/cpp-linter-action@v2 with: files-changed-only: false