Fix displaying of stats for ablative armor #83731
clang-tidy.yml
on: pull_request
skip-duplicates
4s
Matrix: build
Annotations
15 errors and 1 warning
build (other):
tests/iteminfo_test.cpp#L1244
Static declaration of 'eye_r' is dangerous because 'sub_bodypart_id' is a specialization of int_id and it will not update automatically when game data changes. Consider switching to a string_id. [cata-static-int_id-constants,-warnings-as-errors]
|
build (other):
tests/iteminfo_test.cpp#L1244
Temporary string_id instances with fixed content should be promoted to a static instance at global scope. [cata-static-string_id-constants,-warnings-as-errors]
|
build (other):
tests/coverage_test.cpp#L244
Local const string_id instances with fixed content should be promoted to a static instance at global scope. [cata-static-string_id-constants,-warnings-as-errors]
|
build (other)
Process completed with exit code 123.
|
build (src)
Canceling since a higher priority waiting request for 'clang-tidy-build-78590' exists
|
build (src):
src/ui.cpp#L251
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L251
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L258
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L258
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L265
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L265
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L272
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L272
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L280
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
build (src):
src/ui.cpp#L280
redundant string initialization [readability-redundant-string-init,-warnings-as-errors]
|
skip-duplicates
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|