Skip to content

🔄 synced file(s) with Nef10/common-swift-package #547

🔄 synced file(s) with Nef10/common-swift-package

🔄 synced file(s) with Nef10/common-swift-package #547

Triggered via pull request November 18, 2024 07:33
Status Failure
Total duration 1m 27s
Artifacts

ci.yml

on: pull_request
Determine supported OS
8s
Determine supported OS
SwiftLint
31s
SwiftLint
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

12 errors
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/SwiftDependencyUpdater.swift#L14
Code blocks should contain at least one statement or comment (no_empty_block)
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/ResolvedPackage.swift#L81
Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/Update.swift#L28
Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/Update.swift#L31
Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/Update.swift#L34
Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/Update.swift#L37
Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
SwiftLint: Sources/SwiftDependencyUpdaterLibrary/Update.swift#L39
Else branches should be avoided when the previous if-block exits the current scope (superfluous_else)
SwiftLint: Tests/SwiftDependencyUpdaterLibraryTests/UpdateTests.swift#L6
Test cases should be final (final_test_case)
SwiftLint: Tests/SwiftDependencyUpdaterLibraryTests/ResolvedPackageTests.swift#L5
Test cases should be final (final_test_case)
SwiftLint: Tests/SwiftDependencyUpdaterLibraryTests/ResolvedPackageTests.swift#L99
Prefer non-optional `Data(_:)` initializer when converting `String` to `Data` (non_optional_string_data_conversion)
Tests (ubuntu-latest)
Process completed with exit code 1.
Tests (macOS-latest)
The job was canceled because "ubuntu-latest" failed.