Skip to content

Update main.yml

Update main.yml #2

Triggered via push January 29, 2024 15:58
Status Success
Total duration 35s
Artifacts

main.yml

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

Annotations

10 errors, 10 warnings, and 10 notices
tests/event.c:10:10 [clang-diagnostic-error]: tests/event.c#L10
'iotconnect_lib.h' file not found
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
Run clang-format on tests/event.c: tests/event.c#L1
File tests/event.c does not conform to Custom style guidelines. (lines 13, 14, 16, 17, 19, 20, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 66, 71, 72, 74, 77, 80, 82, 83, 84, 86, 87, 88, 90, 91, 92, 94, 96, 97, 98, 99, 100, 102, 105, 106)
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)
tests/event.c:13:20 [cppcoreguidelines-avoid-non-const-global-variables]: tests/event.c#L13
variable 'TEST_STR_V1' is non-const and globally accessible, consider making it const
tests/event.c:16:20 [cppcoreguidelines-avoid-non-const-global-variables]: tests/event.c#L16
variable 'TEST_STR_V2' is non-const and globally accessible, consider making it const
tests/event.c:25:17 [cppcoreguidelines-init-variables]: tests/event.c#L25
variable 'command' is not initialized
tests/event.c:30:17 [cppcoreguidelines-init-variables]: tests/event.c#L30
variable 'ack' is not initialized
tests/event.c:41:17 [cppcoreguidelines-init-variables]: tests/event.c#L41
variable 'url' is not initialized
tests/event.c:46:17 [cppcoreguidelines-init-variables]: tests/event.c#L46
variable 'command' is not initialized
tests/event.c:51:17 [cppcoreguidelines-init-variables]: tests/event.c#L51
variable 'sw_ver' is not initialized
tests/event.c:56:17 [cppcoreguidelines-init-variables]: tests/event.c#L56
variable 'hw_ver' is not initialized
tests/event.c:61:17 [cppcoreguidelines-init-variables]: tests/event.c#L61
variable 'ack' is not initialized