Skip to content

test: Fixing compilation issues in Integration Tests #879

test: Fixing compilation issues in Integration Tests

test: Fixing compilation issues in Integration Tests #879

Triggered via push September 5, 2024 22:28
Status Failure
Total duration 35s
Artifacts

swiftlint.yml

on: push
run-swiftlint
16s
run-swiftlint
Confirm Passing SwiftLint
0s
Confirm Passing SwiftLint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 11 warnings
run-swiftlint: AmplifyPlugins/Internal/Sources/InternalAWSPinpoint/Support/Utils/AmplifyStringConvertible.swift#L116
Function name '_amplifyUnwrap()' should start with a lowercase character (identifier_name)
run-swiftlint: AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift#L47
Variable name 'i' should be between 3 and 40 characters long (identifier_name)
run-swiftlint: AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift#L57
Line should be 160 characters or less; currently it has 531 characters (line_length)
run-swiftlint: AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift#L59
Line should be 160 characters or less; currently it has 228 characters (line_length)
run-swiftlint: AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift#L62
Line should be 160 characters or less; currently it has 174 characters (line_length)
run-swiftlint: AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/S3ClientConfiguration+withAccelerate.swift#L46
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
run-swiftlint
Process completed with exit code 2.
Confirm Passing SwiftLint
Process completed with exit code 1.
run-swiftlint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-swiftlint: Amplify/Amplify.swift#L82
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/Hub/HubChannel.swift#L48
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/DataStoreCategoryBehavior.swift#L53
Function parameters should be aligned vertically if they're in multiple lines in a declaration (vertical_parameter_alignment)
run-swiftlint: Amplify/Categories/DataStore/DataStoreError.swift#L66
TODOs should be resolved (Is this the right command to r...) (todo)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryPredicate.swift#L78
`where` clauses are preferred over a single `if` inside a `for` (for_where)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryPredicate.swift#L85
`where` clauses are preferred over a single `if` inside a `for` (for_where)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L22
Function should have complexity 10 or less; currently complexity is 13 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Query/QueryOperator.swift#L62
Function should have complexity 10 or less; currently complexity is 12 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Model/Internal/Schema/ModelSchema+Definition.swift#L68
Function should have complexity 10 or less; currently complexity is 11 (cyclomatic_complexity)
run-swiftlint: Amplify/Categories/DataStore/Model/Internal/Schema/ModelField+Association.swift#L265
TODOs should be resolved (handle modelName casing (conve...) (todo)