Skip to content

Run clang-format in GitHub Actions #31

Run clang-format in GitHub Actions

Run clang-format in GitHub Actions #31

Triggered via pull request June 28, 2024 13:04
Status Failure
Total duration 35s
Artifacts

clang-format.yml

on: pull_request
Formatting Check
27s
Formatting Check
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 10 warnings
Formatting Check: Samples/Common/Sources/CrashTriggers/CrashTriggers.mm#L1
Added line: ++ b/Samples/Common/Sources/CrashTriggers/CrashTriggers.mm
Formatting Check: Samples/Common/Sources/CrashTriggers/CrashTriggers.mm#L30
Added line: NSException *exc = [NSException exceptionWithName:NSGenericException reason:@"Test" userInfo:@{ @"a" : @"b" }];
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L32
Added line: ++ b/Sources/KSCrashRecording/KSCrashC.c
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L24
Added line: #include "KSCrashMonitorContext.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L25
Added line: #include "KSCrashMonitor_AppState.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L26
Added line: #include "KSCrashMonitor_MachException.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L27
Added line: #include "KSCrashMonitor_NSException.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L28
Added line: #include "KSCrashMonitor_Signal.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L29
Added line: #include "KSCrashMonitor_System.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L30
Added line: #include "KSCrashMonitor_User.h"
Formatting Check
Process completed with exit code 123.
Formatting Check
Formatting issues found. Please run clang-format-18 on your code.
Formatting Check: Samples/Common/Sources/CrashTriggers/CrashTriggers.mm#L1
Removed line: -- a/Samples/Common/Sources/CrashTriggers/CrashTriggers.mm
Formatting Check: Samples/Common/Sources/CrashTriggers/CrashTriggers.mm#L30
Removed line: NSException *exc = [NSException exceptionWithName:NSGenericException
Formatting Check: Samples/Common/Sources/CrashTriggers/CrashTriggers.mm#L30
Removed line: userInfo:@{ @"a": @"b"}];
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L32
Removed line: -- a/Sources/KSCrashRecording/KSCrashC.c
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L24
Removed line: #include "KSCrashReportC.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L24
Removed line: #include "KSCrashReportFixer.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L24
Removed line: #include "KSCrashReportStore.h"
Formatting Check: Sources/KSCrashRecording/KSCrashC.c#L25
Removed line: #include "KSCrashMonitor_MachException.h"