Skip to content

Update .swift-version and .swiftformat #289

Update .swift-version and .swiftformat

Update .swift-version and .swiftformat #289

Triggered via pull request May 7, 2024 13:46
Status Failure
Total duration 10m 41s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 15 warnings
Codequality
Process completed with exit code 1.
Build & Tests: Tests/UBFoundationTests/Networking/UBSessionTests.swift#L44
testRedirection, Asynchronous wait failed: Exceeded timeout of 10 seconds, with unfulfilled expectations: "s".
Build & Tests: Tests/UBFoundationTests/Networking/UBSessionTests.swift#L80
testValidCertificatePinning, failed - A secure connection cannot be made to the server. Please check or deactivate your VPN and/or your proxy or check whether you are connected via a public Wi-Fi network.
Build & Tests: Tests/UBFoundationTests/Networking/UBSessionTests.swift#L82
testValidCertificatePinning, XCTAssertEqual failed: ("nil") is not equal to ("Optional(UBFoundation.UBStandardHTTPCode.ok)")
Build & Tests
Tests Failed: 3 failed, 0 skipped, 166 total (81.118 seconds)
Build & Tests
Process completed with exit code 1.
Codequality
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Codequality
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/
testRedirection() (UBSessionTests) failed: UBSessionTests#L0
build/UBKit-Package.xml
Build & Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build & Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@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 & Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'
Build & Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L141
value 'metrics' was defined but never used; consider replacing with boolean test
Build & Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L256
immutable value 'responseDate' was never used; consider replacing with '_' or removing it
Build & Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L96
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L106
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L144
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L158
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
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: "build-test-logs". 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
build-test-logs Expired
37.2 MB