Skip to content

feat: rewrite of Device Service #39

feat: rewrite of Device Service

feat: rewrite of Device Service #39

Triggered via pull request September 10, 2024 19:14
Status Success
Total duration 2m 48s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

17 warnings
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: MiniSim/AppleScript Commands/GetDevicesCommand.swift#L24
Line Length Violation: Line should be 120 characters or less; currently it has 131 characters (line_length)
lint: MiniSim/AppleScript Commands/LaunchDeviceCommand.swift#L21
Line Length Violation: Line should be 120 characters or less; currently it has 123 characters (line_length)
lint: MiniSim/Views/About.swift#L61
Trailing Closure Violation: Trailing closure syntax should be used whenever possible (trailing_closure)
lint: MiniSim/Menu.swift#L12
Type Body Length Violation: Type body should span 250 lines or less excluding comments and whitespace: currently spans 254 lines (type_body_length)
lint: MiniSim/Service/DeviceServiceFactory.swift#L3
Convenience Type Violation: Types used for hosting only static members should be implemented as a caseless enum to avoid instantiation (convenience_type)
lint: MiniSim/Service/AppleUtils.swift#L3
Convenience Type Violation: Types used for hosting only static members should be implemented as a caseless enum to avoid instantiation (convenience_type)
lint: MiniSim/Service/CustomCommandService.swift#L3
Convenience Type Violation: Types used for hosting only static members should be implemented as a caseless enum to avoid instantiation (convenience_type)
lint: MiniSim/Model/Platform.swift#L15
Todo Violation: TODOs should be resolved (Remove this type during migrat...) (todo)
lint: MiniSimTests/DeviceParserTests.swift#L192
Function Body Length Violation: Function body should span 50 lines or less excluding comments and whitespace: currently spans 69 lines (function_body_length)
lint: MiniSimTests/DeviceParserTests.swift#L4
Type Body Length Violation: Type body should span 250 lines or less excluding comments and whitespace: currently spans 273 lines (type_body_length)
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: MiniSimTests/DeviceDiscoveryTests.swift#L56
code after 'throw' will never be executed
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/