File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release readiness (snapshot dependency)
2+
3+ # Makes sure that we aren't relying on SNAPSHOT/dev versions of smithy-kotlin before merging
4+ # Otherwise we could forget because the rest of CI is masking it
5+
6+ on :
7+ pull_request :
8+ branches : [ main ]
9+ workflow_dispatch :
10+
11+ jobs :
12+ release-readiness :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout sources
16+ uses : actions/checkout@v4
17+
18+ - name : Configure Gradle
19+ uses : awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
20+
21+ - name : Configure error message
22+ run : echo "ERROR_MESSAGE=WARNING smithy-kotlin release and version bump might be required before merging!" >> $GITHUB_ENV
23+
24+ - name : Build SDK
25+ run : ./gradlew test jvmTest || echo $ERROR_MESSAGE
26+
27+ - name : Build SDK client
28+ run : |
29+ ./gradlew -Paws.services=s3 -Paws.kotlin.native=false bootstrap || echo $ERROR_MESSAGE
30+ ./gradlew build || echo $ERROR_MESSAGE
You can’t perform that action at this time.
0 commit comments