Skip to content

Commit

Permalink
Add check Gradle task to CI workflow (#410)
Browse files Browse the repository at this point in the history
* Add `check` Gradle task to CI workflow

* API dump
  • Loading branch information
twyatt authored Sep 16, 2024
1 parent 83f0f02 commit 6117e0d
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- uses: gradle/actions/setup-gradle@v4

- run: ./gradlew assemble
- run: ./gradlew check
- run: ./gradlew jacocoTestReport

- uses: EnricoMi/publish-unit-test-result-action/macos@v2
Expand Down
2 changes: 1 addition & 1 deletion axis/api/axis.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:axis>
// Library unique name: <com.juul.krayon:axis>
final enum class com.juul.krayon.axis/Edge : kotlin/Enum<com.juul.krayon.axis/Edge> { // com.juul.krayon.axis/Edge|null[0]
enum entry Bottom // com.juul.krayon.axis/Edge.Bottom|null[0]
enum entry Left // com.juul.krayon.axis/Edge.Left|null[0]
Expand Down
2 changes: 1 addition & 1 deletion box/api/box.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:box>
// Library unique name: <com.juul.krayon:box>
final fun (com.juul.krayon.element/RectangleElement).com.juul.krayon.box/setShapeFrom(com.juul.krayon.hierarchy.treemap/Tile) // com.juul.krayon.box/setShapeFrom|setShapeFrom@com.juul.krayon.element.RectangleElement(com.juul.krayon.hierarchy.treemap.Tile){}[0]
2 changes: 1 addition & 1 deletion color/api/color.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:color>
// Library unique name: <com.juul.krayon:color>
final value class com.juul.krayon.color/Color { // com.juul.krayon.color/Color|null[0]
constructor <init>(kotlin/Float, kotlin/Float, kotlin/Float) // com.juul.krayon.color/Color.<init>|<init>(kotlin.Float;kotlin.Float;kotlin.Float){}[0]
constructor <init>(kotlin/Float, kotlin/Float, kotlin/Float, kotlin/Float) // com.juul.krayon.color/Color.<init>|<init>(kotlin.Float;kotlin.Float;kotlin.Float;kotlin.Float){}[0]
Expand Down
9 changes: 7 additions & 2 deletions compose/api/compose.klib.api
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Klib ABI Dump
// Targets: [iosArm64, iosSimulatorArm64, iosX64]
// Targets: [iosArm64, iosSimulatorArm64, iosX64, js]
// Rendering settings:
// - Signature version: 2
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:compose>
// Library unique name: <com.juul.krayon:compose>
final class com.juul.krayon.compose/ComposeKanvas : com.juul.krayon.kanvas/Kanvas { // com.juul.krayon.compose/ComposeKanvas|null[0]
final val height // com.juul.krayon.compose/ComposeKanvas.height|{}height[0]
final fun <get-height>(): kotlin/Float // com.juul.krayon.compose/ComposeKanvas.height.<get-height>|<get-height>(){}[0]
Expand Down Expand Up @@ -50,3 +50,8 @@ final fun <#A: kotlin/Any?> com.juul.krayon.compose/ElementView(androidx.compose
final fun <#A: kotlin/Any?> com.juul.krayon.compose/ElementView(kotlin/Function0<#A>, com.juul.krayon.element/UpdateElement<#A>, androidx.compose.ui/Modifier?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int) // com.juul.krayon.compose/ElementView|ElementView(kotlin.Function0<0:0>;com.juul.krayon.element.UpdateElement<0:0>;androidx.compose.ui.Modifier?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){0§<kotlin.Any?>}[0]
final fun <#A: kotlin/Any?> com.juul.krayon.compose/ElementView(kotlinx.coroutines.flow/Flow<#A>, com.juul.krayon.element/UpdateElement<#A>, androidx.compose.ui/Modifier?, androidx.compose.runtime/Composer?, kotlin/Int, kotlin/Int) // com.juul.krayon.compose/ElementView|ElementView(kotlinx.coroutines.flow.Flow<0:0>;com.juul.krayon.element.UpdateElement<0:0>;androidx.compose.ui.Modifier?;androidx.compose.runtime.Composer?;kotlin.Int;kotlin.Int){0§<kotlin.Any?>}[0]
final fun com.juul.krayon.compose/Kanvas(androidx.compose.ui/Modifier, kotlin/Function1<com.juul.krayon.kanvas/Kanvas, kotlin/Unit>, androidx.compose.runtime/Composer?, kotlin/Int) // com.juul.krayon.compose/Kanvas|Kanvas(androidx.compose.ui.Modifier;kotlin.Function1<com.juul.krayon.kanvas.Kanvas,kotlin.Unit>;androidx.compose.runtime.Composer?;kotlin.Int){}[0]
final fun com.juul.krayon.compose/com_juul_krayon_compose_ComposeKanvas$stableprop_getter(): kotlin/Int // com.juul.krayon.compose/com_juul_krayon_compose_ComposeKanvas$stableprop_getter|com_juul_krayon_compose_ComposeKanvas$stableprop_getter(){}[0]
final fun com.juul.krayon.compose/com_juul_krayon_compose_ComposePathBuilder$stableprop_getter(): kotlin/Int // com.juul.krayon.compose/com_juul_krayon_compose_ComposePathBuilder$stableprop_getter|com_juul_krayon_compose_ComposePathBuilder$stableprop_getter(){}[0]
final fun com.juul.krayon.compose/com_juul_krayon_compose_ComposePathMarker$stableprop_getter(): kotlin/Int // com.juul.krayon.compose/com_juul_krayon_compose_ComposePathMarker$stableprop_getter|com_juul_krayon_compose_ComposePathMarker$stableprop_getter(){}[0]
final fun com.juul.krayon.compose/com_juul_krayon_compose_ResourceCache$stableprop_getter(): kotlin/Int // com.juul.krayon.compose/com_juul_krayon_compose_ResourceCache$stableprop_getter|com_juul_krayon_compose_ResourceCache$stableprop_getter(){}[0]
final fun com.juul.krayon.compose/com_juul_krayon_compose_SkiaIsPointInPath$stableprop_getter(): kotlin/Int // com.juul.krayon.compose/com_juul_krayon_compose_SkiaIsPointInPath$stableprop_getter|com_juul_krayon_compose_SkiaIsPointInPath$stableprop_getter(){}[0]
2 changes: 1 addition & 1 deletion element-view/api/element-view.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:element-view>
// Library unique name: <com.juul.krayon:element-view>
final class <#A: kotlin/Any?> com.juul.krayon.element.view/ElementViewAdapter { // com.juul.krayon.element.view/ElementViewAdapter|null[0]
constructor <init>(kotlinx.coroutines.flow/Flow<#A>, com.juul.krayon.element/UpdateElement<#A>) // com.juul.krayon.element.view/ElementViewAdapter.<init>|<init>(kotlinx.coroutines.flow.Flow<1:0>;com.juul.krayon.element.UpdateElement<1:0>){}[0]
}
Expand Down
2 changes: 1 addition & 1 deletion element/api/element.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:element>
// Library unique name: <com.juul.krayon:element>
abstract fun interface <#A: kotlin/Any?> com.juul.krayon.element/ClickHandler { // com.juul.krayon.element/ClickHandler|null[0]
abstract fun onClick(#A) // com.juul.krayon.element/ClickHandler.onClick|onClick(1:0){}[0]
}
Expand Down
2 changes: 1 addition & 1 deletion hierarchy/api/hierarchy.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:hierarchy>
// Library unique name: <com.juul.krayon:hierarchy>
abstract interface com.juul.krayon.hierarchy.treemap/TileMethod { // com.juul.krayon.hierarchy.treemap/TileMethod|null[0]
abstract fun tile(com.juul.krayon.hierarchy/Node<*, com.juul.krayon.hierarchy.treemap/Tile>) // com.juul.krayon.hierarchy.treemap/TileMethod.tile|tile(com.juul.krayon.hierarchy.Node<*,com.juul.krayon.hierarchy.treemap.Tile>){}[0]
}
Expand Down
2 changes: 1 addition & 1 deletion interpolate/api/interpolate.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:interpolate>
// Library unique name: <com.juul.krayon:interpolate>
abstract interface <#A: kotlin/Any?> com.juul.krayon.interpolate/BidirectionalInterpolator : com.juul.krayon.interpolate/Interpolator<#A>, com.juul.krayon.interpolate/Inverter<#A> // com.juul.krayon.interpolate/BidirectionalInterpolator|null[0]

abstract interface <#A: kotlin/Any?> com.juul.krayon.interpolate/Interpolator { // com.juul.krayon.interpolate/Interpolator|null[0]
Expand Down
2 changes: 1 addition & 1 deletion kanvas/api/kanvas.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:kanvas>
// Library unique name: <com.juul.krayon:kanvas>
abstract interface <#A: kotlin/Any> com.juul.krayon.kanvas/PathTypeMarker { // com.juul.krayon.kanvas/PathTypeMarker|null[0]
abstract val builder // com.juul.krayon.kanvas/PathTypeMarker.builder|{}builder[0]
abstract fun <get-builder>(): com.juul.krayon.kanvas/PathBuilder<#A> // com.juul.krayon.kanvas/PathTypeMarker.builder.<get-builder>|<get-builder>(){}[0]
Expand Down
2 changes: 1 addition & 1 deletion scale/api/scale.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:scale>
// Library unique name: <com.juul.krayon:scale>
abstract fun interface <#A: kotlin/Any?> com.juul.krayon.scale/Ticker { // com.juul.krayon.scale/Ticker|null[0]
abstract fun ticks(#A, #A, kotlin/Int): kotlin.collections/List<#A> // com.juul.krayon.scale/Ticker.ticks|ticks(1:0;1:0;kotlin.Int){}[0]
}
Expand Down
2 changes: 1 addition & 1 deletion selection/api/selection.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:selection>
// Library unique name: <com.juul.krayon:selection>
final class <#A: com.juul.krayon.element/Element, #B: kotlin/Any?> com.juul.krayon.selection/ExitSelection : com.juul.krayon.selection/Selection<#A, #B> { // com.juul.krayon.selection/ExitSelection|null[0]
constructor <init>(kotlin.collections/List<com.juul.krayon.selection/Group<#A, #B>>) // com.juul.krayon.selection/ExitSelection.<init>|<init>(kotlin.collections.List<com.juul.krayon.selection.Group<1:0,1:1>>){}[0]
}
Expand Down
2 changes: 1 addition & 1 deletion shape/api/shape.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:shape>
// Library unique name: <com.juul.krayon:shape>
abstract interface <#A: kotlin/Any> com.juul.krayon.shape/Shape { // com.juul.krayon.shape/Shape|null[0]
abstract fun render(kotlin.collections/List<#A?>): com.juul.krayon.kanvas/Path // com.juul.krayon.shape/Shape.render|render(kotlin.collections.List<1:0?>){}[0]
}
Expand Down
2 changes: 1 addition & 1 deletion time/api/time.klib.api
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// - Show manifest properties: true
// - Show declarations: true

// Library unique name: <krayon:time>
// Library unique name: <com.juul.krayon:time>
abstract interface com.juul.krayon.time/Interval { // com.juul.krayon.time/Interval|null[0]
abstract fun floor(kotlinx.datetime/LocalDateTime): kotlinx.datetime/LocalDateTime // com.juul.krayon.time/Interval.floor|floor(kotlinx.datetime.LocalDateTime){}[0]
abstract fun offset(kotlinx.datetime/LocalDateTime, kotlin/Int): kotlinx.datetime/LocalDateTime // com.juul.krayon.time/Interval.offset|offset(kotlinx.datetime.LocalDateTime;kotlin.Int){}[0]
Expand Down

0 comments on commit 6117e0d

Please sign in to comment.