Skip to content

Update main.yml

Update main.yml #4

Triggered via push January 29, 2024 16:02
Status Success
Total duration 39s
Artifacts

main.yml

on: push
cpp-linter
28s
cpp-linter
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 10 warnings, and 10 notices
tests/discovery.c:10:10 [clang-diagnostic-error]: tests/discovery.c#L10
'iotconnect_discovery.h' file not found
src/iotconnect_common.c:7:10 [clang-diagnostic-error]: src/iotconnect_common.c#L7
'iotconnect_common.h' file not found
src/iotconnect_lib.c:10:10 [clang-diagnostic-error]: src/iotconnect_lib.c#L10
'iotconnect_common.h' file not found
tests/telemetry.c:53:12 [cppcoreguidelines-avoid-non-const-global-variables]: tests/telemetry.c#L53
variable 'tracker' is non-const and globally accessible, consider making it const
src/iotconnect_discovery.c:24:12 [performance-no-int-to-ptr]: src/iotconnect_discovery.c#L24
integer to pointer cast pessimizes optimization opportunities
src/iotconnect_discovery.c:122:5 [bugprone-branch-clone]: src/iotconnect_discovery.c#L122
if with identical then and else branches
src/iotconnect_telemetry.c:29:26 [performance-no-int-to-ptr]: src/iotconnect_telemetry.c#L29
integer to pointer cast pessimizes optimization opportunities
src/iotconnect_telemetry.c:40:22 [performance-no-int-to-ptr]: src/iotconnect_telemetry.c#L40
integer to pointer cast pessimizes optimization opportunities
Run clang-format on tests/telemetry.c: tests/telemetry.c#L1
File tests/telemetry.c does not conform to Custom style guidelines. (lines 6, 11, 14, 18, 19, 21, 22, 23, 24, 25, 27, 29, 30, 31, 33, 34, 35, 37, 38, 39, 40, 41, 43, 44, 45, 47, 48, 49, 55, 56, 57, 62, 63, 64, 65, 69, 70, 72, 73, 74, 75, 77, 78)
Run clang-format on tests/discovery.c: tests/discovery.c#L1
File tests/discovery.c does not conform to Custom style guidelines. (lines 12, 13, 15, 16, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 88, 89, 90, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 105, 106)
Run clang-format on src/iotconnect_discovery.c: src/iotconnect_discovery.c#L1
File src/iotconnect_discovery.c does not conform to Custom style guidelines. (lines 15, 16, 17, 18, 19, 20, 21, 22, 23, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 57, 58, 59, 60, 61, 63, 64, 65, 66, 67, 69, 70, 71, 72, 74, 75, 76, 77, 78, 80, 81, 82, 83, 84, 86, 88, 89, 90, 94, 95, 96, 97, 98, 99, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 202)
Run clang-format on src/iotconnect_telemetry.c: src/iotconnect_telemetry.c#L1
File src/iotconnect_telemetry.c does not conform to Custom style guidelines. (lines 6, 13, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 63, 64, 66, 67, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 82, 84, 85, 86, 88, 90, 92, 93, 95, 96, 98, 99, 104, 105, 106, 107, 108, 109, 110, 112, 114, 116, 118, 119, 120, 121, 122, 123, 124, 125, 127, 129, 131, 133, 134, 136, 137, 139, 140, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 158, 159, 160, 161, 162, 163, 164, 165, 169, 170, 171, 172, 173, 174, 175, 176, 178, 179, 180, 182, 183, 185, 186, 190, 191, 192, 193, 194, 195, 196, 197, 199, 200, 201, 203, 204, 206, 207, 211, 212, 213, 214, 215, 216, 217, 218, 220, 221, 222, 224, 225, 227, 228, 232, 233, 234, 235, 236, 237, 238, 239, 241, 242, 243, 245, 246, 248, 249, 253, 254, 255, 256, 257, 258, 259, 263, 264, 267, 268, 269, 270)
Run clang-format on src/iotconnect_common.c: src/iotconnect_common.c#L1
File src/iotconnect_common.c does not conform to Custom style guidelines. (lines 5, 11, 12, 13, 17, 21, 22, 25, 26, 27, 28, 29, 30, 31, 32, 33)
Run clang-format on src/iotconnect_lib.c: src/iotconnect_lib.c#L1
File src/iotconnect_lib.c does not conform to Custom style guidelines. (lines 6, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 39, 42, 43, 44, 45, 49, 50)
Run clang-format on src/iotconnect_event.c: src/iotconnect_event.c#L1
File src/iotconnect_event.c does not conform to Custom style guidelines. (lines 12, 13, 19, 20, 21, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 55, 56, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 80, 84, 88, 89, 90, 92, 93, 94, 96, 97, 98, 99, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113, 115, 117, 118, 119, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 132, 133, 134, 136, 137, 138, 140, 141, 142, 143, 144, 145, 147, 149, 153, 154, 155, 156, 157, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 179, 182, 183, 184, 185, 186, 187, 188, 189, 193, 194, 195, 196, 197, 198, 199, 200, 204, 205, 206, 207, 208, 212, 213, 214, 215, 216, 218, 220, 222, 223, 224, 226, 228, 229, 230, 232, 233, 234, 236, 237, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 265, 267, 268, 269, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 286, 287, 288, 289, 290, 291, 295, 296, 298)
Run clang-format on src/iotconnect_device_identity.c: src/iotconnect_device_identity.c#L1
File src/iotconnect_device_identity.c does not conform to Custom style guidelines. (lines 9, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34, 35, 36, 37, 38, 39, 40, 42, 43, 45, 48, 49, 50, 51, 52, 53, 54, 55, 57, 58, 62, 63, 64, 65, 66, 67, 69, 70, 72, 75, 76, 79, 80, 81, 82, 83, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 102, 103, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 123, 124, 125, 126, 127, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 145, 146, 148, 151, 152, 153, 154, 155, 156, 157, 158, 159, 163, 164, 165, 166, 167, 168, 169, 173, 174, 175, 176, 177, 178)
Run clang-format on src/iotconnect_discovery_v3.c: src/iotconnect_discovery_v3.c#L1
File src/iotconnect_discovery_v3.c does not conform to Custom style guidelines. (lines 11, 17, 18, 19, 20, 21, 22, 23, 24, 25, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 61, 62, 63, 64, 65)
Run clang-format on include/iotconnect_common.h: include/iotconnect_common.h#L1
File include/iotconnect_common.h does not conform to Custom style guidelines. (lines 7, 30)