Skip to content

Commit 452e2f4

Browse files
authored
feat: minor version strategy rules (#1410)
1 parent 4e12181 commit 452e2f4

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Minor version bump check
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
minor-version-bump-check:
7+
permissions: {}
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Minor version bump check
11+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/minor-version-bump@main

build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55
import aws.sdk.kotlin.gradle.dsl.configureJReleaser
66
import aws.sdk.kotlin.gradle.dsl.configureLinting
7+
import aws.sdk.kotlin.gradle.dsl.configureMinorVersionStrategyRules
78
import aws.sdk.kotlin.gradle.util.typedProp
89
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
910

@@ -109,6 +110,7 @@ val lintPaths = listOf(
109110
)
110111

111112
configureLinting(lintPaths)
113+
configureMinorVersionStrategyRules(lintPaths)
112114

113115
// Binary compatibility
114116
apiValidation {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
kotlin-version = "2.2.0"
33
dokka-version = "2.0.0"
44

5-
aws-kotlin-repo-tools-version = "0.4.50"
5+
aws-kotlin-repo-tools-version = "0.4.54"
66

77
# libs
88
coroutines-version = "1.10.2"

0 commit comments

Comments
 (0)