Skip to content

REFACTOR: NetworkManager #80

REFACTOR: NetworkManager

REFACTOR: NetworkManager #80

Triggered via pull request June 3, 2024 10:43
Status Failure
Total duration 7m 45s
Artifacts 1

Test_Build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 23 warnings
error: HANE24TEST/FakeNetwork.swift#L13
Type 'FakeCalenderNetwork' does not conform to protocol 'NetworkProtocol'
error: HANE24TEST/FakeNetwork.swift#L55
Type 'FakeReissueSuccessNetwork' does not conform to protocol 'NetworkProtocol'
error: HANE24TEST/FakeNetwork.swift#L94
Type 'FakeReissueFailNetwork' does not conform to protocol 'NetworkProtocol'
error: HANE24TEST/FakeNetwork.swift#L13
Type 'FakeCalenderNetwork' does not conform to protocol 'NetworkProtocol'
error: HANE24TEST/FakeNetwork.swift#L55
Type 'FakeReissueSuccessNetwork' does not conform to protocol 'NetworkProtocol'
error: HANE24TEST/FakeNetwork.swift#L94
Type 'FakeReissueFailNetwork' does not conform to protocol 'NetworkProtocol'
Test: HANE24TEST/FakeNetwork.swift#L13
type 'FakeCalenderNetwork' does not conform to protocol 'NetworkProtocol'
Test: HANE24TEST/FakeNetwork.swift#L55
type 'FakeReissueSuccessNetwork' does not conform to protocol 'NetworkProtocol'
Test: HANE24TEST/FakeNetwork.swift#L94
type 'FakeReissueFailNetwork' does not conform to protocol 'NetworkProtocol'
Test: HANE24TEST/FakeNetwork.swift#L13
type 'FakeCalenderNetwork' does not conform to protocol 'NetworkProtocol'
Test: HANE24TEST/FakeNetwork.swift#L55
type 'FakeReissueSuccessNetwork' does not conform to protocol 'NetworkProtocol'
Test: HANE24TEST/FakeNetwork.swift#L94
type 'FakeReissueFailNetwork' does not conform to protocol 'NetworkProtocol'
Test
Process completed with exit code 65.
SwiftLint
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/.
SwiftLint: HANE24TEST/FakeNetwork.swift#L20
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
SwiftLint: HANE24TEST/FakeNetwork.swift#L61
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
SwiftLint: HANE24TEST/FakeNetwork.swift#L100
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
SwiftLint: HANE24TEST/FakeNetwork.swift#L58
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: HANE24TEST/FakeNetwork.swift#L80
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: HANE24TEST/FakeNetwork.swift#L84
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: HANE24TEST/FakeNetwork.swift#L88
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
SwiftLint: HANE24/View/More/ReissuanceComponent/ReissueButton.swift#L18
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
SwiftLint: HANE24/View/More/ReissuanceComponent/ReissueButton.swift#L60
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
SwiftLint: HANE24/View/More/ReissuanceComponent/ReissueButton.swift#L78
Multiple Closures with Trailing Closure Violation: Trailing closure syntax should not be used when passing more than one closure argument (multiple_closures_with_trailing_closure)
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, szenius/[email protected], kishikawakatsumi/xcresulttool@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test: HANE24/ViewModel/CalendarVM.swift#L107
immutable value 'isMissing' was never used; consider replacing with '_' or removing it
Test: HANE24/ViewModel/HomeVM.swift#L60
Comment Spacing Violation: Prefer at least one space after slashes for comments (comment_spacing)
Test: HANE24/ViewModel/HaneVM.swift#L100
Redundant Void Return Violation: Returning Void in a function declaration is redundant (redundant_void_return)
Test: HANE24/ViewModel/NetworkManager.swift#L37
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Test: HANE24/ViewModel/NetworkManager.swift#L53
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Test: HANE24/ViewModel/NetworkManager.swift#L72
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Test: HANE24/ViewModel/CalendarVM.swift#L29
Colon Spacing Violation: Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
Test: HANE24/ViewModel/CalendarVM.swift#L35
Trailing Whitespace Violation: Lines should not have trailing whitespace (trailing_whitespace)
Test: HANE24/Model/ReissueModel.swift#L40
Trailing Newline Violation: Files should have a single trailing newline (trailing_newline)
Test: HANE24/View/Home/HomeView.swift#L107
Comment Spacing Violation: Prefer at least one space after slashes for comments (comment_spacing)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "TestResults.xcresult". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
TestResults.xcresult Expired
46 KB