Skip to content

chore: check kotlin style in ci #289

chore: check kotlin style in ci

chore: check kotlin style in ci #289

Triggered via pull request October 3, 2024 09:53
Status Failure
Total duration 2m 44s
Artifacts 1

ci.yml

on: pull_request
[Dart] Check formatting
12s
[Dart] Check formatting
[Dart] Static code analysis
41s
[Dart] Static code analysis
[Kotlin] Code quality
18s
[Kotlin] Code quality
Package score
48s
Package score
Matrix: Build Android APK
Matrix: Build web
Fit to window
Zoom out
Zoom in

Annotations

10 errors
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L3
[ktlint] reported by reviewdog 🐶 Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:3:1: error: Imports must be ordered in lexicographic order without any empty lines in-between with "java", "javax", "kotlin" and aliases in the end (standard:import-ordering)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L61
[ktlint] reported by reviewdog 🐶 Needless blank line(s) Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:61:1: error: Needless blank line(s) (standard:no-consecutive-blank-lines)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L66
[ktlint] reported by reviewdog 🐶 Missing trailing comma before ")" Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:66:37: error: Missing trailing comma before ")" (standard:trailing-comma-on-declaration-site)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L67
[ktlint] reported by reviewdog 🐶 Super type should start on a newline Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:67:19: error: Super type should start on a newline (standard:class-signature)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L67
[ktlint] reported by reviewdog 🐶 Super type should start on a newline Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:67:45: error: Super type should start on a newline (standard:class-signature)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L67
[ktlint] reported by reviewdog 🐶 Super type should start on a newline Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:67:65: error: Super type should start on a newline (standard:class-signature)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L81
[ktlint] reported by reviewdog 🐶 A multiline expression should start on a new line Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:81:33: error: A multiline expression should start on a new line (standard:multiline-expression-wrapping)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L81
[ktlint] reported by reviewdog 🐶 Expected newline before '.' Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:81:47: error: Expected newline before '.' (standard:chain-method-continuation)
[Kotlin] Code quality: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt#L86
[ktlint] reported by reviewdog 🐶 Missing { ... } Raw Output: android/src/main/kotlin/com/github/josxha/maplibre/MapLibreMapController.kt:86:17: error: Missing { ... } (standard:multiline-if-else)
[Kotlin] Code quality
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835

Artifacts

Produced during runtime
Name Size
maplibre-flutter-demo.apk Expired
34.3 MB