Skip to content

Fix SwiftLint errors #467

Fix SwiftLint errors

Fix SwiftLint errors #467

Triggered via push June 26, 2024 02:49
Status Failure
Total duration 38s
Artifacts

swiftlint.yml

on: push
SwiftLint
28s
SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
SwiftLint: Sources/NostrSDK/LegacyDirectMessageEncrypting.swift#L81
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
SwiftLint: Sources/NostrSDK/Events/GenericRepostEvent.swift#L73
Non-Optional String <-> Data Conversion Violation: Prefer using UTF-8 encoded strings when converting between `String` and `Data` (non_optional_string_data_conversion)
SwiftLint
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/.
SwiftLint
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/