From a20a17e2d4dd6e154c14baba3761328906a25a06 Mon Sep 17 00:00:00 2001 From: Vakhtang Donadze Date: Thu, 22 Jun 2023 12:58:25 +0400 Subject: [PATCH] [TH2-4937] add api compatibility compliance check in workflows --- .github/workflows/dev-java-publish-sonatype.yml | 11 +++++++++++ .../workflows/dev-release-java-publish-sonatype.yml | 11 +++++++++++ .github/workflows/java-publish-sonatype.yml | 11 +++++++++++ 3 files changed, 33 insertions(+) diff --git a/.github/workflows/dev-java-publish-sonatype.yml b/.github/workflows/dev-java-publish-sonatype.yml index a0f035f9b..5af9f706a 100644 --- a/.github/workflows/dev-java-publish-sonatype.yml +++ b/.github/workflows/dev-java-publish-sonatype.yml @@ -6,6 +6,17 @@ on: - version-* jobs: + api-compatibility-check-core: + uses: th2-net/.github/.github/workflows/japi-compliance-checker.yml@main + with: + projectPath: ./cradle-core + targetJarUrl: https://s01.oss.sonatype.org/content/repositories/releases/com/exactpro/th2/cradle-core/5.0.2-dev/cradle-core-5.0.2-dev.jar + api-compatibility-check-cassandra: + uses: th2-net/.github/.github/workflows/japi-compliance-checker.yml@main + with: + projectPath: ./cradle-cassandra + continueOnError: true + targetJarUrl: https://s01.oss.sonatype.org/content/repositories/releases/com/exactpro/th2/cradle-cassandra/5.0.2-dev/cradle-cassandra-5.0.2-dev.jar build-job: uses: th2-net/.github/.github/workflows/compound-java-dev.yml@main with: diff --git a/.github/workflows/dev-release-java-publish-sonatype.yml b/.github/workflows/dev-release-java-publish-sonatype.yml index 0c23d75c8..de3f68d00 100644 --- a/.github/workflows/dev-release-java-publish-sonatype.yml +++ b/.github/workflows/dev-release-java-publish-sonatype.yml @@ -6,6 +6,17 @@ on: - \d+.\d+.\d+-dev jobs: + api-compatibility-check-core: + uses: th2-net/.github/.github/workflows/japi-compliance-checker.yml@main + with: + projectPath: ./cradle-core + targetJarUrl: https://s01.oss.sonatype.org/content/repositories/releases/com/exactpro/th2/cradle-core/5.0.2-dev/cradle-core-5.0.2-dev.jar + api-compatibility-check-cassandra: + uses: th2-net/.github/.github/workflows/japi-compliance-checker.yml@main + with: + projectPath: ./cradle-cassandra + continueOnError: true + targetJarUrl: https://s01.oss.sonatype.org/content/repositories/releases/com/exactpro/th2/cradle-cassandra/5.0.2-dev/cradle-cassandra-5.0.2-dev.jar build: uses: th2-net/.github/.github/workflows/compound-java.yml@main with: diff --git a/.github/workflows/java-publish-sonatype.yml b/.github/workflows/java-publish-sonatype.yml index 5d1e85f99..53ad1f30d 100644 --- a/.github/workflows/java-publish-sonatype.yml +++ b/.github/workflows/java-publish-sonatype.yml @@ -8,6 +8,17 @@ on: - gradle.properties jobs: + api-compatibility-check-core: + uses: th2-net/.github/.github/workflows/japi-compliance-checker.yml@main + with: + projectPath: ./cradle-core + targetJarUrl: https://s01.oss.sonatype.org/content/repositories/releases/com/exactpro/th2/cradle-core/5.0.2-dev/cradle-core-5.0.2-dev.jar + api-compatibility-check-cassandra: + uses: th2-net/.github/.github/workflows/japi-compliance-checker.yml@main + with: + projectPath: ./cradle-cassandra + continueOnError: true + targetJarUrl: https://s01.oss.sonatype.org/content/repositories/releases/com/exactpro/th2/cradle-cassandra/5.0.2-dev/cradle-cassandra-5.0.2-dev.jar build: uses: th2-net/.github/.github/workflows/compound-java.yml@main with: