Skip to content

Commit

Permalink
Add binary API validation (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt authored Mar 9, 2024
1 parent 95ce4f0 commit 76dfa93
Show file tree
Hide file tree
Showing 5 changed files with 1,358 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- os: windows-latest
TEST_TASK: mingwX64Test
- os: ubuntu-latest
TEST_TASK: check
TEST_TASK: apiCheck check
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ plugins {
kotlin("multiplatform").version(libs.versions.kotlin).apply(false)
alias(libs.plugins.dokka).apply(false)
alias(libs.plugins.publish).apply(false)
alias(libs.plugins.kotlinBinaryCompatibilityValidator)
}

apiValidation {
// https://github.com/Kotlin/binary-compatibility-validator/issues/3
project("samples").subprojects.mapTo(ignoredProjects) { it.name }
}

fun getPublishVersion(): String {
Expand Down
Loading

0 comments on commit 76dfa93

Please sign in to comment.