Skip to content

Commit

Permalink
feat: add EOF line clang format
Browse files Browse the repository at this point in the history
The change in runner is required since this new option
is available from clang-format-16 onwards.
  • Loading branch information
jr0me committed Aug 29, 2024
1 parent 8169451 commit 62b7b53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ BreakInheritanceList: BeforeComma
FixNamespaceComments: 'true'
IncludeBlocks: Preserve
IndentCaseLabels: 'true'
InsertNewlineAtEOF: 'true'
SortIncludes: 'true'
SpaceAfterCStyleCast: 'false'
SpaceAfterLogicalNot: 'false'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
clang-format:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion src/agent/communicator/tests/communicator_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ int main(int argc, char** argv)
return RUN_ALL_TESTS();
}

// NOLINTEND(cppcoreguidelines-avoid-capturing-lambda-coroutines)
// NOLINTEND(cppcoreguidelines-avoid-capturing-lambda-coroutines)

0 comments on commit 62b7b53

Please sign in to comment.