Skip to content

Update main.yml

Update main.yml #10

Triggered via push March 12, 2024 18:24
Status Failure
Total duration 43s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: LibraryManagement/Modules/Common/Constants.swift#L12
Force Cast Violation: Force casts should be avoided (force_cast)
build: LibraryManagement/Modules/Setting/SettingController.swift#L55
Function Body Length Violation: Function body should span 100 lines or less excluding comments and whitespace: currently spans 108 lines (function_body_length)
build: LibraryManagement/Modules/Common/BookManger.swift#L124
Line Length Violation: Line should be 200 characters or less; currently it has 207 characters (line_length)
build: LibraryManagement/Modules/Common/BookManger.swift#L95
Shorthand Operator Violation: Prefer shorthand operators (+=, -=, *=, /=) over doing the operation and assigning (shorthand_operator)
build: LibraryManagement/Modules/Notification/NotificationController.swift#L95
Force Cast Violation: Force casts should be avoided (force_cast)
build: LibraryManagement/Modules/SideMenu/SideMenuController.swift#L119
Force Cast Violation: Force casts should be avoided (force_cast)
build: LibraryManagement/Modules/BookRequest/BookRequestController.swift#L82
Force Cast Violation: Force casts should be avoided (force_cast)
build: LibraryManagement/Modules/Book/BookDetailController.swift#L60
Function Body Length Violation: Function body should span 100 lines or less excluding comments and whitespace: currently spans 101 lines (function_body_length)
build: LibraryManagement/Modules/Book/BookListController.swift#L242
Force Cast Violation: Force casts should be avoided (force_cast)
build: LibraryManagement/Modules/Book/BookListController.swift#L316
Identifier Name Violation: Variable name 'b' should be between 3 and 40 characters long (identifier_name)
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: LibraryManagement/Modules/Cells/NotificationCell.swift#L35
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 53 lines (function_body_length)
build: LibraryManagement/Modules/Cells/NotificationCell.swift#L74
Line Length Violation: Line should be 120 characters or less; currently it has 131 characters (line_length)
build: LibraryManagement/Modules/Cells/NotificationCell.swift#L95
Line Length Violation: Line should be 120 characters or less; currently it has 132 characters (line_length)
build: LibraryManagement/Modules/Cells/NotificationCell.swift#L96
Line Length Violation: Line should be 120 characters or less; currently it has 121 characters (line_length)
build: LibraryManagement/Modules/Cells/NotificationCell.swift#L98
Line Length Violation: Line should be 120 characters or less; currently it has 127 characters (line_length)
build: LibraryManagement/Modules/Cells/BookCell.swift#L60
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 61 lines (function_body_length)
build: LibraryManagement/Modules/Cells/BookRequsetCell.swift#L82
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 83 lines (function_body_length)
build: LibraryManagement/Modules/Cells/BookRequsetCell.swift#L169
Line Length Violation: Line should be 120 characters or less; currently it has 129 characters (line_length)
build: LibraryManagement/Modules/Setting/SettingController.swift#L105
Line Length Violation: Line should be 120 characters or less; currently it has 121 characters (line_length)
build: LibraryManagement/Modules/Setting/SettingController.swift#L106
Line Length Violation: Line should be 120 characters or less; currently it has 124 characters (line_length)