diff --git a/.github/workflows/minor-version-bump.yml b/.github/workflows/minor-version-bump.yml new file mode 100644 index 00000000000..ef10fe70d9c --- /dev/null +++ b/.github/workflows/minor-version-bump.yml @@ -0,0 +1,11 @@ +name: Minor version bump check +on: + pull_request: + +jobs: + minor-version-bump-check: + permissions: {} + runs-on: ubuntu-latest + steps: + - name: Minor version bump check + uses: awslabs/aws-kotlin-repo-tools/.github/actions/minor-version-bump@main diff --git a/build.gradle.kts b/build.gradle.kts index b586dc2c034..87a08af1de2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,6 +3,7 @@ * SPDX-License-Identifier: Apache-2.0 */ import aws.sdk.kotlin.gradle.dsl.configureLinting +import aws.sdk.kotlin.gradle.dsl.configureMinorVersionStrategyRules import aws.sdk.kotlin.gradle.dsl.configureNexus import aws.sdk.kotlin.gradle.util.typedProp @@ -106,3 +107,4 @@ val lintPaths = listOf( ) configureLinting(lintPaths) +configureMinorVersionStrategyRules(lintPaths) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 7dc204bb4a1..aeb94018585 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,7 @@ ksp-version = "2.2.0-2.0.2" # Keep in sync with kotlin-version dokka-version = "2.0.0" -aws-kotlin-repo-tools-version = "0.4.49" +aws-kotlin-repo-tools-version = "0.4.54" # libs coroutines-version = "1.10.2" @@ -12,8 +12,8 @@ atomicfu-version = "0.29.0" binary-compatibility-validator-version = "0.18.0" # smithy-kotlin codegen and runtime are versioned separately -smithy-kotlin-runtime-version = "1.5.8" -smithy-kotlin-codegen-version = "0.35.8" +smithy-kotlin-runtime-version = "1.5.10" +smithy-kotlin-codegen-version = "0.35.10" # codegen smithy-version = "1.60.2"