specify swift version #7
swiftformat.yml
on: push
run-swiftformat
53s
Confirm Passing SwiftFormat
0s
Annotations
2 errors and 11 warnings
run-swiftformat
Process completed with exit code 1.
|
Confirm Passing SwiftFormat
Process completed with exit code 1.
|
run-swiftformat
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-swiftformat:
AmplifyTestApp/AppDelegate.swift#L10
Replace obsolete @UIApplicationMain and @NSApplicationMain attributes with @main for Swift 5.3 and above. (applicationMain)
|
run-swiftformat:
AmplifyFunctionalTests/AmplifyConfigurationInitFromFileTests.swift#L8
Sort import statements alphabetically. (sortImports)
|
run-swiftformat:
AmplifyFunctionalTests/AmplifyConfigurationInitFromFileTests.swift#L9
Sort import statements alphabetically. (sortImports)
|
run-swiftformat:
AmplifyTestCommon/TestCommonConstants.swift#L8
Insert blank line after import statements. (blankLineAfterImports)
|
run-swiftformat:
Amplify/Amplify.swift#L36
Use consistent ordering for member modifiers. (modifierOrder)
|
run-swiftformat:
Amplify/Amplify.swift#L39
Use consistent ordering for member modifiers. (modifierOrder)
|
run-swiftformat:
Amplify/Amplify.swift#L39
Remove redundant type from variable declarations. (redundantType)
|
run-swiftformat:
Amplify/Amplify.swift#L42
Use consistent ordering for member modifiers. (modifierOrder)
|
run-swiftformat:
Amplify/Amplify.swift#L45
Use consistent ordering for member modifiers. (modifierOrder)
|
run-swiftformat:
Amplify/Amplify.swift#L48
Use consistent ordering for member modifiers. (modifierOrder)
|