Gh actions #4
verify.yaml
on: pull_request
Build and Run Tests
1m 27s
Detekt
58s
Annotations
1 error and 15 warnings
Detekt
Process completed with exit code 1.
|
detekt.NestedBlockDepth:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L97
Function matchRequestRouteSelectors is nested too deeply.
|
detekt.ReturnCount:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L97
Function matchRequestRouteSelectors has 3 return statements which exceeds the limit of 2.
|
detekt.ThrowsCount:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L51
Too many throw statements in the function checkSelectorsList. The maximum number of allowed throw statements is 2.
|
detekt.MaxLineLength:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L59
Line detected, which is longer than the defined maximum line length in the code style.
|
detekt.MaxLineLength:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L65
Line detected, which is longer than the defined maximum line length in the code style.
|
detekt.UseRequire:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L59
Use require() instead of throwing an IllegalArgumentException.
|
detekt.UseRequire:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L65
Use require() instead of throwing an IllegalArgumentException.
|
detekt.UseRequire:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L71
Use require() instead of throwing an IllegalArgumentException.
|
detekt.UseRequire:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L77
Use require() instead of throwing an IllegalArgumentException.
|
detekt.UseRequire:
core/src/main/kotlin/kotlet/RouteHelpers.kt#L85
Use require() instead of throwing an IllegalArgumentException.
|
detekt.MaxLineLength:
core/src/main/kotlin/kotlet/HttpMethod.kt#L25
Line detected, which is longer than the defined maximum line length in the code style.
|
detekt.MaxLineLength:
core/src/main/kotlin/kotlet/selector/OptionalParamSegmentSelector.kt#L11
Line detected, which is longer than the defined maximum line length in the code style.
|
detekt.MaxLineLength:
core/src/main/kotlin/kotlet/selector/OptionalParamSegmentSelector.kt#L12
Line detected, which is longer than the defined maximum line length in the code style.
|
Detekt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jwgmeligmeyling/checkstyle-github-action@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Detekt
The following actions uses node12 which is deprecated and will be forced to run on node16: jwgmeligmeyling/checkstyle-github-action@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|