Skip to content

fix: Fix warnings and prevent potential issues #916

fix: Fix warnings and prevent potential issues

fix: Fix warnings and prevent potential issues #916

Triggered via pull request November 4, 2024 16:08
Status Failure
Total duration 3m 35s
Artifacts

ci.yaml

on: pull_request
Matrix: API-diff
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 5 warnings
SwiftLint: Sources/Confidence/Http/NetworkClient.swift#L137
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: Sources/Confidence/EventStorage.swift#L78
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: Sources/Confidence/ConfidenceScreenTracker.swift#L81
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: Tests/ConfidenceTests/Helpers/StorageMock.swift#L20
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: Tests/ConfidenceTests/ConfidenceValueTests.swift#L128
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: Tests/ConfidenceProviderTests/ConfidenceProviderTest.swift#L142
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
DemoApp
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, webfactory/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
API-diff (ConfidenceProvider)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, webfactory/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
API-diff (Confidence)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, webfactory/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, webfactory/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/