Skip to content

Commit

Permalink
ci: change tidy and format
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Jan 28, 2024
1 parent e6084dc commit 6b0d9b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerIndentWidth: 0
IndentWidth: 4
Language: Cpp
MaxEmptyLinesToKeep: 2
MaxEmptyLinesToKeep: 1
PackConstructorInitializers: CurrentLine
PointerAlignment: Left
TabWidth: 4
Expand Down
3 changes: 2 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
Checks: '
Checks: '
bugprone-*,
clang-analyzer-*,
concurrency-*,
cppcoreguidelines-*,
llvm-*,
misc-*,
modernize-*,
performance-*,
portability-*,
readability-*
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b0d9b4

Please sign in to comment.