Skip to content

Commit e232a0c

Browse files
committed
Switch to 3rdparty action for clang-tidy run
1 parent f0f98e4 commit e232a0c

File tree

3 files changed

+3
-127
lines changed

3 files changed

+3
-127
lines changed

.github/actions/clang-tidy-native/action.yml

Lines changed: 0 additions & 114 deletions
This file was deleted.

.github/workflows/static-analysis-pr.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,10 @@ jobs:
6262
- name: Show ccache stats
6363
run: ccache --show-stats
6464
- name: Run clang-tidy
65-
uses: ./.github/actions/clang-tidy-native
66-
id: review
65+
uses: aobolensk/clang-tidy-action@1685ada95cfee180d12944c3401ea33580d1d4e9
6766
with:
6867
exclude: "3rdparty build"
6968
clang_tidy_version: "21"
70-
- if: steps.review.outputs.total_comments > 0
71-
run: |
72-
echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs"
73-
exit 1
7469
clang-tidy-for-gcc-build:
7570
needs:
7671
- clang-tidy
@@ -111,15 +106,10 @@ jobs:
111106
- name: Show ccache stats
112107
run: ccache --show-stats
113108
- name: Run clang-tidy
114-
uses: ./.github/actions/clang-tidy-native
115-
id: review
109+
uses: aobolensk/clang-tidy-action@1685ada95cfee180d12944c3401ea33580d1d4e9
116110
with:
117111
exclude: "3rdparty build docs_venv .git .pytest_cache .ruff_cache xml"
118112
clang_tidy_version: "21"
119-
- if: steps.review.outputs.total_comments > 0
120-
run: |
121-
echo "clang-tidy run has failed. See previous 'Run clang-tidy' stage logs"
122-
exit 1
123113
nolint-check:
124114
runs-on: ubuntu-24.04
125115
steps:

modules/task/include/task.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class Task {
228228
const auto max_time = ppc::util::GetTaskMaxTime();
229229
std::stringstream err_msg;
230230
if (diff < max_time) {
231-
err_msg << "Test time:" << std::fixed << std::setprecision(10) << diff << '\n';
231+
err_msg << "Test time:" << std::fixed << std::setprecision(10) << diff << std::endl;
232232
} else {
233233
err_msg << "\nTask execute time need to be: ";
234234
err_msg << "time < " << max_time << " secs.\n";

0 commit comments

Comments
 (0)