Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
21507c7
chore: release 1.5.28
aws-sdk-kotlin-ci Jan 16, 2026
7231ffe
chore: bump snapshot version to 1.5.29-SNAPSHOT
aws-sdk-kotlin-ci Jan 16, 2026
240966a
misc: v1.6 minor version bump (#1484)
lauzadis Jan 20, 2026
b25dd8d
fix: increase Dokka memory allocation (#1486)
lauzadis Jan 20, 2026
6c04366
chore: release 1.6.0
aws-sdk-kotlin-ci Jan 21, 2026
b428ab3
chore: bump snapshot version to 1.6.1-SNAPSHOT
aws-sdk-kotlin-ci Jan 21, 2026
3310de5
fix: Add `CI_USER_PAT` token to checkout action (#1493)
lauzadis Jan 22, 2026
d59ba67
misc: repo tools v0.5.1 (#1492)
aws-sdk-kotlin-ci Jan 22, 2026
7752098
fix: correctly handle query bindings from enum-keyed maps (#1494)
ianbotsf Jan 28, 2026
cd5dbed
chore: release 1.6.1
aws-sdk-kotlin-ci Jan 28, 2026
045de21
chore: bump snapshot version to 1.6.2-SNAPSHOT
aws-sdk-kotlin-ci Jan 28, 2026
2d2151d
fix: correct stale-issue workflow permissions to allow updating issue…
ianbotsf Feb 2, 2026
baf12f3
chore: bump smithy version (#1503)
lauzadis Feb 11, 2026
cc05d1f
chore: release 1.6.2
aws-sdk-kotlin-ci Feb 11, 2026
c46d0e9
chore: bump snapshot version to 1.6.3-SNAPSHOT
aws-sdk-kotlin-ci Feb 11, 2026
f3f8f9e
chore: remove unnecessary token-based access to the public smithy-kot…
ianbotsf Feb 12, 2026
0d26266
fix: miscellaneous issues with CRT resources (#1504)
lauzadis Feb 17, 2026
65e58fb
chore: release 1.6.3
aws-sdk-kotlin-ci Feb 17, 2026
a213ec1
chore: bump snapshot version to 1.6.4-SNAPSHOT
aws-sdk-kotlin-ci Feb 17, 2026
d28ee22
fix: don't codegen stdlib deps (#1507)
ianbotsf Feb 18, 2026
5f3028d
chore: release 1.6.4
aws-sdk-kotlin-ci Feb 18, 2026
96f917d
chore: bump snapshot version to 1.6.5-SNAPSHOT
aws-sdk-kotlin-ci Feb 18, 2026
ab1f18a
feat: proguard JAR size reduction (#1505)
0marperez Feb 19, 2026
b164b05
feat: add HTTP/2 support to CrtHttpEngine (#1508)
lauzadis Feb 23, 2026
cc6896e
fix: fail fast when null value in non sparse collection (#1506)
0marperez Feb 24, 2026
961e662
feat: implement ecdsaSecp256r1 for native (#1509)
0marperez Feb 25, 2026
ad54463
chore: release 1.6.5
aws-sdk-kotlin-ci Feb 25, 2026
65fe4f5
chore: bump snapshot version to 1.6.6-SNAPSHOT
aws-sdk-kotlin-ci Feb 25, 2026
3715d34
misc: address Atomicfu build warning (#1511)
lauzadis Mar 4, 2026
f857567
feat: reduced JAR CI (#1510)
0marperez Mar 6, 2026
4ae289c
fix: event stream header name length (#1512)
lauzadis Mar 9, 2026
72a417c
chore: new shared testing features (#1514)
ianbotsf Mar 9, 2026
d1568c2
feat: reduced JAR artifact size metrics (#1513)
0marperez Mar 9, 2026
3a91e4d
chore(deps): bump dokka-version from 2.0.0 to 2.1.0 (#1499)
dependabot[bot] Mar 12, 2026
6daf6bf
chore(deps): bump smithy-version from 1.67.0 to 1.68.0 (#1498)
dependabot[bot] Mar 12, 2026
790a626
chore(deps): bump ktor-version from 3.3.3 to 3.4.1 (#1496)
dependabot[bot] Mar 12, 2026
0b14abd
feat: enable JAR reduction (#1515)
0marperez Mar 13, 2026
f5bce40
chore: release 1.6.6
aws-sdk-kotlin-ci Mar 13, 2026
8253a7d
chore: bump snapshot version to 1.6.7-SNAPSHOT
aws-sdk-kotlin-ci Mar 13, 2026
90917c3
misc: remove dead code for JAR reduction (#1521)
0marperez Mar 17, 2026
3b5d52d
misc: update transform config (#1523)
lauzadis Mar 23, 2026
17fd688
chore: release 1.6.7
aws-sdk-kotlin-ci Mar 24, 2026
34a0c98
chore: bump snapshot version to 1.6.8-SNAPSHOT
aws-sdk-kotlin-ci Mar 24, 2026
fb9934c
chore(deps): bump aws-kotlin-repo-tools-version from 0.5.3 to 0.5.6 (…
dependabot[bot] Mar 25, 2026
5ad505a
chore(deps): bump com.fasterxml.jackson:jackson-bom from 2.15.3 to 2.…
dependabot[bot] Mar 26, 2026
fc45c7a
chore: increase Dependabot open PR count from 5 to 100 (#1524)
ianbotsf Mar 26, 2026
a030abb
chore(deps): bump otel-version from 1.57.0 to 1.60.1 (#1520)
dependabot[bot] Mar 26, 2026
a4d4656
chore(deps): bump kotlinx-benchmark-version from 0.4.15 to 0.4.16 (#1…
dependabot[bot] Mar 26, 2026
612fd68
chore: rename tests to decrease incidence of the word "Failed" in suc…
ianbotsf Mar 26, 2026
d0334f1
misc: repo tools v0.5.8 (#1541)
aws-sdk-kotlin-ci Mar 27, 2026
2ed6942
chore(deps): bump aws.sdk.kotlin.crt:aws-crt-kotlin from 0.12.3 to 0.…
dependabot[bot] Mar 27, 2026
0f983bb
chore(deps): bump ktor-version from 3.4.1 to 3.4.2 (#1543)
dependabot[bot] Mar 27, 2026
6447ac7
chore(deps): bump com.gradle.plugin-publish from 2.0.0 to 2.1.1 (#1540)
dependabot[bot] Mar 27, 2026
44bd2e8
chore(deps): bump org.jetbrains.kotlinx:atomicfu-gradle-plugin from 0…
dependabot[bot] Mar 27, 2026
b604092
chore(deps): bump org.jsoup:jsoup from 1.21.2 to 1.22.1 (#1533)
dependabot[bot] Mar 27, 2026
6ce7946
chore(deps): bump org.jetbrains.kotlinx:kotlinx-serialization-json fr…
dependabot[bot] Mar 28, 2026
43ba826
chore: release 1.6.8
aws-sdk-kotlin-ci Mar 30, 2026
76bd93a
chore: bump snapshot version to 1.6.9-SNAPSHOT
aws-sdk-kotlin-ci Mar 30, 2026
d3e0b54
chore(deps): bump dokka-version from 2.1.0 to 2.2.0 (#1532)
dependabot[bot] Mar 30, 2026
9e25ad5
chore(deps): bump com.fasterxml.jackson:jackson-bom from 2.21.1 to 2.…
dependabot[bot] Mar 30, 2026
807b772
chore(deps): bump docker-java-version from 3.7.0 to 3.7.1 (#1530)
dependabot[bot] Mar 30, 2026
351a78e
chore(deps): bump okhttp-version from 5.0.0-alpha.14 to 5.3.2 (#1537)
dependabot[bot] Mar 30, 2026
8ecc960
chore(deps): bump dev.zacsweers.kctfork:core from 0.12.0 to 0.12.1 (#…
dependabot[bot] Mar 31, 2026
016a731
chore(deps): bump software.amazon.smithy.gradle:smithy-base from 1.3.…
dependabot[bot] Mar 31, 2026
a676f97
fix: handle negatives in default values for doubles (#1546)
lauzadis Mar 31, 2026
d76a1ff
fix: sleep outside of lock in adaptive rate limiter (#1547)
lauzadis Mar 31, 2026
e61b015
chore: release 1.6.9
aws-sdk-kotlin-ci Mar 31, 2026
660ff59
chore: bump snapshot version to 1.6.10-SNAPSHOT
aws-sdk-kotlin-ci Mar 31, 2026
d842681
chore(deps): bump com.squareup.okio:okio from 3.16.4 to 3.17.0 (#1529)
dependabot[bot] Mar 31, 2026
0ea5303
chore(deps): bump io.micrometer:micrometer-core from 1.16.1 to 1.16.4…
dependabot[bot] Mar 31, 2026
1503f4a
chore(deps): bump gradle-wrapper from 9.2.1 to 9.4.1 (#1534)
dependabot[bot] Apr 1, 2026
c61f53d
chore(deps): bump aws.sdk.kotlin.crt:aws-crt-kotlin from 0.12.6 to 0.…
dependabot[bot] Apr 1, 2026
601287c
chore(deps): bump junit-version from 5.14.1 to 5.14.3 (#1548)
dependabot[bot] Apr 2, 2026
6e72255
chore: add AI contribution policy to CONTRIBUTING.md (#1549)
ianbotsf Apr 2, 2026
d2fcd3d
chore: add clock skew integration tests (#1550)
ianbotsf Apr 6, 2026
6c5b60f
Replace junit with kotlin test (#1553)
luigi617 Apr 11, 2026
e5462cf
Replace junit with kotlin test (#1554)
luigi617 Apr 13, 2026
6fce603
chore: release 1.6.10
aws-sdk-kotlin-ci Apr 13, 2026
8549481
chore: bump snapshot version to 1.6.11-SNAPSHOT
aws-sdk-kotlin-ci Apr 13, 2026
00d88d1
chore(deps): bump org.jetbrains.kotlinx:kotlinx-serialization-json fr…
dependabot[bot] Apr 14, 2026
81a2cd0
chore(deps): bump otel-version from 1.60.1 to 1.61.0 (#1556)
dependabot[bot] Apr 14, 2026
48dc7d5
chore(deps): bump io.micrometer:micrometer-core from 1.16.4 to 1.16.5…
dependabot[bot] Apr 14, 2026
b0573c5
chore(deps): bump smithy-version from 1.68.0 to 1.69.0 (#1558)
dependabot[bot] Apr 14, 2026
da030dd
fix junit dependencies (#1560)
luigi617 Apr 16, 2026
0f9c429
Fix get attr in condition (#1559)
luigi617 Apr 16, 2026
ecd00fe
fix: enum values init deadlock (#1557)
0marperez Apr 16, 2026
b35c253
chore: release 1.6.11
aws-sdk-kotlin-ci Apr 17, 2026
a1b0a8d
chore: bump snapshot version to 1.6.12-SNAPSHOT
aws-sdk-kotlin-ci Apr 17, 2026
17ee211
feat: multiplatform file and dir apis (#1561)
0marperez Apr 19, 2026
0e89b9a
fix: use platform-safe conversion for fseek offset in native (#1562)
0marperez Apr 20, 2026
f3fae3e
chore: release 1.6.12
aws-sdk-kotlin-ci Apr 20, 2026
79ba7ac
chore: bump snapshot version to 1.6.13-SNAPSHOT
aws-sdk-kotlin-ci Apr 20, 2026
b1c9276
chore: bump Kotlin to 2.3.20 and add unit test to verify codegen vers…
ianbotsf Apr 23, 2026
a0201da
chore(deps): bump junit-version from 5.14.3 to 5.14.4 (#1579)
dependabot[bot] Apr 27, 2026
239187a
chore(deps): bump ktor-version from 3.4.2 to 3.4.3 (#1566)
dependabot[bot] Apr 27, 2026
20bb7f6
chore: add test filesystem capabilities (#1578)
ianbotsf Apr 27, 2026
a7e7e3e
chore: release 1.6.13
aws-sdk-kotlin-ci Apr 28, 2026
0e48daf
chore: bump snapshot version to 1.6.14-SNAPSHOT
aws-sdk-kotlin-ci Apr 28, 2026
6af7559
chore(deps): bump org.jsoup:jsoup from 1.22.1 to 1.22.2 (#1563)
dependabot[bot] Apr 28, 2026
9b66def
misc: repo tools v0.5.9 (#1581)
aws-sdk-kotlin-ci Apr 29, 2026
a734aea
fix: erase empty file if setting permissions fails (#1585)
ianbotsf Apr 30, 2026
c2bef0d
misc: repo tools v0.5.10 (#1586)
aws-sdk-kotlin-ci Apr 30, 2026
1586d34
misc: repo tools v0.5.12 (#1590)
aws-sdk-kotlin-ci May 1, 2026
a2753e0
Retry 2026 (#1596)
luigi617 May 8, 2026
fd9fb63
chore: release 1.6.14
aws-sdk-kotlin-ci May 8, 2026
ce7f1e4
chore: bump snapshot version to 1.6.15-SNAPSHOT
aws-sdk-kotlin-ci May 8, 2026
6bcbe58
chore(deps): bump slf4j-version from 2.0.17 to 2.0.18 (#1602)
dependabot[bot] May 14, 2026
372edb2
chore(deps): bump org.jetbrains.kotlinx:kotlinx-datetime from 0.7.1 t…
dependabot[bot] May 14, 2026
4ea359d
misc: repo tools v0.5.13 (#1605)
aws-sdk-kotlin-ci May 14, 2026
2c42e5d
chore(deps): bump kotlinx-benchmark-version from 0.4.16 to 0.4.17 (#1…
dependabot[bot] May 14, 2026
a030b6b
chore(deps): bump coroutines-version from 1.10.2 to 1.11.0 (#1594)
dependabot[bot] May 14, 2026
c1c7818
chore(deps): bump otel-version from 1.61.0 to 1.62.0 (#1601)
dependabot[bot] May 15, 2026
046335f
chore(deps): bump ktor-version from 3.4.3 to 3.5.0 (#1604)
dependabot[bot] May 15, 2026
e05816b
chore(deps): bump com.fasterxml.jackson:jackson-bom from 2.21.2 to 2.…
dependabot[bot] May 15, 2026
e704867
chore(deps): bump smithy-version from 1.69.0 to 1.70.0 (#1591)
dependabot[bot] May 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .brazil-1.x.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"defaultVersionLayout": "{MAJOR}.x"
},
"rename": {
"software.amazon.smithy.kotlin:smithy-aws-kotlin-codegen": "AwsSmithyAwsKotlinCodegen",
"software.amazon.smithy.kotlin:smithy-kotlin-codegen": "AwsSmithyKotlinCodegen"
"aws.smithy.kotlin:aws-codegen": "AwsSmithyAwsKotlinCodegen",
"aws.smithy.kotlin:codegen": "AwsSmithyKotlinCodegen"
},
"ignore": [
"aws.smithy.kotlin:http-test",
Expand All @@ -40,7 +40,7 @@
"aws.smithy.kotlin:testing",
"aws.smithy.kotlin:bom",
"aws.smithy.kotlin:version-catalog",
"software.amazon.smithy.kotlin:smithy-kotlin-codegen-testutils"
"aws.smithy.kotlin:codegen-testutils"
],
"resolvesConflictDependencies": {
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*": [
Expand Down
15 changes: 7 additions & 8 deletions .brazil.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
"io.opentelemetry:opentelemetry-api:1.*": "Maven-io-opentelemetry_opentelemetry-api-1.x",
"io.opentelemetry:opentelemetry-extension-kotlin:1.*": "Maven-io-opentelemetry_opentelemetry-extension-kotlin-1.x",
"org.slf4j:slf4j-api:2.*": "Maven-org-slf4j_slf4j-api-2.x",
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.10.*": "AwsCrtKotlin-0.10.x",
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.9.*": "AwsCrtKotlin-0.9.x",
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.8.*": "AwsCrtKotlin-0.8.x",
"aws.sdk.kotlin.crt:aws-crt-kotlin:0.12.*": "AwsCrtKotlin-0.12.x",
"com.squareup.okhttp3:okhttp:4.*": "OkHttp3-4.x",
"org.jetbrains.kotlinx:kotlinx-datetime-jvm:0.*": "KotlinxDatetimeJvm-0.x",
"org.jetbrains.kotlinx:kotlinx-io-core-jvm:0.*": "Maven-org-jetbrains-kotlinx_kotlinx-io-core-jvm-0.x",

"software.amazon.smithy:smithy-aws-traits:1.*": "Maven-software-amazon-smithy_smithy-aws-traits-1.x",
"software.amazon.smithy:smithy-aws-iam-traits:1.*": "Maven-software-amazon-smithy_smithy-aws-iam-traits-1.x",
Expand All @@ -32,13 +31,13 @@
"versioning": {
"defaultVersionLayout": "{MAJOR}.0.x",
"overrides": {
"software.amazon.smithy.kotlin:smithy-aws-kotlin-codegen": "{MAJOR}.x",
"software.amazon.smithy.kotlin:smithy-kotlin-codegen": "{MAJOR}.x"
"aws.smithy.kotlin:aws-codegen": "{MAJOR}.x",
"aws.smithy.kotlin:codegen": "{MAJOR}.x"
}
},
"rename": {
"software.amazon.smithy.kotlin:smithy-aws-kotlin-codegen": "AwsSmithyAwsKotlinCodegen",
"software.amazon.smithy.kotlin:smithy-kotlin-codegen": "AwsSmithyKotlinCodegen"
"aws.smithy.kotlin:aws-codegen": "AwsSmithyAwsKotlinCodegen",
"aws.smithy.kotlin:codegen": "AwsSmithyKotlinCodegen"
},
"ignore": [
"aws.smithy.kotlin:http-test",
Expand All @@ -47,7 +46,7 @@
"aws.smithy.kotlin:testing",
"aws.smithy.kotlin:bom",
"aws.smithy.kotlin:version-catalog",
"software.amazon.smithy.kotlin:smithy-kotlin-codegen-testutils"
"aws.smithy.kotlin:codegen-testutils"
],
"resolvesConflictDependencies": {
"org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.*": [
Expand Down
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ktlint_standard_no-wildcard-imports = disabled
ktlint_standard_filename = disabled
ktlint_standard_backing-property-naming = disabled

# TODO decide if we want to enable these new rules
ktlint_standard_mixed-condition-operators = disabled
ktlint_standard_blank-line-between-when-conditions = disabled

# enable trailing commas per JetBrains recommendation
# (https://kotlinlang.org/docs/coding-conventions.html#trailing-commas)
ij_kotlin_allow_trailing_comma_on_call_site = true
Expand Down
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ updates:
directory: /
schedule:
interval: daily # means every _weekday_ (Monday through Friday)
open-pull-requests-limit: 100
5 changes: 3 additions & 2 deletions .github/workflows/api-compat-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ on:
- main
- '*-main'

permissions: { }
permissions:
contents: read

jobs:
api-compat-verification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check for API compatibility
if: ${{ !contains(github.event.pull_request.labels.*.name, 'acknowledge-api-break') }}
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/changelog-verification.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Changelog verification

permissions:
contents: read
id-token: write

on:
Expand Down
116 changes: 116 additions & 0 deletions .github/workflows/continuous-integration-reduced.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Copied and modified from continuous-integration.yml

name: CI w/ reduced CRT Kotlin

on:
pull_request:
workflow_dispatch:

permissions:
id-token: write
contents: read

concurrency:
group: ci-reduced-pr-${{ github.ref }}
cancel-in-progress: true

env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dkotlin.incremental=false"

jobs:
jvm:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java-version:
- 8
- 11
- 17
- 21
steps:
- name: Set start timestamp
id: start
run: printf 'timestamp=%(%s)T\n' >> "$GITHUB_OUTPUT"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
aws-region: us-west-2

- name: Setup kat
uses: aws/aws-kotlin-repo-tools/.github/actions/setup-kat@main

- name: Checkout smithy-kotlin
uses: actions/checkout@v4

- name: Configure Gradle (Smithy Kotlin)
uses: aws/aws-kotlin-repo-tools/.github/actions/configure-gradle@main

- name: Checkout aws-crt-kotlin
uses: aws/aws-kotlin-repo-tools/.github/actions/checkout-head@main
with:
path: 'aws-crt-kotlin' # '.' would make this a sibling, and include build. Overriding reduced JAR dependency.
repository: 'aws/aws-crt-kotlin'
submodules: 'true'

- name: Configure Gradle (CRT Kotlin)
uses: aws/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
with:
working-directory: './aws-crt-kotlin'

- name: Configure JDK
uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: 17
cache: 'gradle'

# TODO: Replace with kat command (SDK-KT-1089)
- name: Enable JAR reduction & disable Kotlin Native
uses: aws/aws-kotlin-repo-tools/.github/actions/utils/add-to-local-properties@main
with:
working-directory: '~/.sdkdev'
addition: 'aws.kotlin.native = false'

- name: Publish reduced CRT Kotlin to Maven Local
working-directory: './aws-crt-kotlin'
run: |
./gradlew publishToMavenLocal # publish full size and reduced JARs
./gradlew replaceMavenLocalFullSizeJars # reduce JARs become the default

# The checked out CRT Kotlin version might be a SNAPSHOT version e.g. in cross repo features (and include builds are off).
- name: Depend on checked out CRT Kotlin version
run: |
cd ./aws-crt-kotlin
version=$(kat get-property sdkVersion)
echo "Found CRT version: $version"

cd ..
kat bump-version --file gradle/libs.versions.toml --property crt-kotlin-version --version $version

- name: Build and Test Smithy Kotlin on JVM (with dependency on reduced CRT Kotlin)
run: |
./gradlew -Ptest.java.version=${{ matrix.java-version }} jvmTest --stacktrace

- name: Calculate duration
id: end
if: always()
run: |
printf -v now '%(%s)T'
duration=$(( now - ${{ steps.start.outputs.timestamp }} ))
echo "duration=$duration" >> "$GITHUB_OUTPUT"

- name: Emit metrics
if: always()
uses: aws/aws-kotlin-repo-tools/.github/actions/emit-metrics@main
with:
namespace: CI Metrics
dimensions: |
Product=smithy-kotlin
JobName=${{ github.job }}(${{ matrix.java-version }})-reduced
Branch=${{ github.base_ref || github.ref_name }}
metrics: |
WorkflowSucceeded:${{ job.status == 'success' && '1' || '0' }}:Count
WorkflowDuration:${{ steps.end.outputs.duration }}:Seconds
8 changes: 3 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -412,16 +412,14 @@ jobs:
# TODO - JVM only
cd $GITHUB_WORKSPACE/smithy-kotlin
./gradlew -Paws.kotlin.native=false publishToMavenLocal
SMITHY_KOTLIN_RUNTIME_VERSION=$(grep sdkVersion= gradle.properties | cut -d = -f 2)
SMITHY_KOTLIN_CODEGEN_VERSION=$(grep codegenVersion= gradle.properties | cut -d = -f 2)
SMITHY_KOTLIN_VERSION=$(grep sdkVersion= gradle.properties | cut -d = -f 2)
cd $GITHUB_WORKSPACE/aws-sdk-kotlin
# replace smithy-kotlin-runtime-version and smithy-kotlin-codegen-version to be
# replace smithy-kotlin-version to be
# whatever we are testing such that the protocol test projects don't fail with a
# version that doesn't exist locally or in maven central. Otherwise the generated
# protocol test projects will use whatever the SDK thinks the version of
# smithy-kotlin should be
sed -i "s/smithy-kotlin-runtime-version = .*$/smithy-kotlin-runtime-version = \"$SMITHY_KOTLIN_RUNTIME_VERSION\"/" gradle/libs.versions.toml
sed -i "s/smithy-kotlin-codegen-version = .*$/smithy-kotlin-codegen-version = \"$SMITHY_KOTLIN_CODEGEN_VERSION\"/" gradle/libs.versions.toml
sed -i "s/smithy-kotlin-version = .*$/smithy-kotlin-version = \"$SMITHY_KOTLIN_VERSION\"/" gradle/libs.versions.toml
./gradlew -Paws.kotlin.native=false publishToMavenLocal
./gradlew -Paws.kotlin.native=false test jvmTest
./gradlew -Paws.kotlin.native=false testAllProtocols
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
- '*-main'
workflow_dispatch:

permissions: { }
permissions:
contents: read

env:
PACKAGE_NAME: smithy-kotlin
Expand All @@ -22,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Configure Gradle
uses: aws/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
- name: Lint ${{ env.PACKAGE_NAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v4

- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
uses: aws/aws-kotlin-repo-tools/.github/actions/configure-gradle@main

- name: Build
shell: bash
Expand All @@ -19,7 +19,7 @@ jobs:
./gradlew publishAllPublicationsToTestLocalRepository --parallel

- name: Calculate metrics
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/calculate-and-upload@main
uses: aws/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/calculate-and-upload@main
with:
upload: 'false'
release_metrics: 'false'
Expand All @@ -31,7 +31,7 @@ jobs:
aws-region: us-west-2

- name: Process metrics
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/download-and-process@main
uses: aws/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/download-and-process@main
with:
download: 'false'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: actions/checkout@v4

- name: Configure Gradle
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
uses: aws/aws-kotlin-repo-tools/.github/actions/configure-gradle@main

- name: Build
shell: bash
Expand All @@ -27,7 +27,7 @@ jobs:
aws-region: us-west-2

- name: Calculate and upload metrics
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/calculate-and-upload@main
uses: aws/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/calculate-and-upload@main
with:
upload: 'true'
release_metrics: 'true'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-readiness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
pull_request:
branches: [ main ]

permissions: { }
permissions:
contents: read

jobs:
release-readiness:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stale_issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
schedule:
- cron: "0 0/3 * * *"

permissions: { }
permissions:
issues: write

jobs:
cleanup:
Expand Down
Loading
Loading