Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# and to translate version strings such as "nightly-latest"
# to an actual DAFNY_VERSION.
- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_examples_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
java-version: ${{ matrix.java-version }}

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_examples_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_latest_released_mpl_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
java-version: ${{ matrix.java-version }}

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ needs.getVersion.outputs.version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_vector_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_vector_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dafny_interop_examples_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
fetch-depth: 0

- name: Setup MPL Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.mpl-dafny }}

Expand All @@ -73,7 +73,7 @@ jobs:
make build_java CORES=$CORES

- name: Setup DBESDK Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dbesdk-dafny}}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dafny_interop_examples_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Setup MPL Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.mpl-dafny }}

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
make transpile_net CORES=$CORES

- name: Setup DBESDK Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dbesdk-dafny}}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dafny_interop_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
fetch-depth: 0

- name: Setup MPL Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.mpl-dafny }}

Expand All @@ -73,7 +73,7 @@ jobs:
make build_java CORES=$CORES

- name: Setup DBESDK Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dbesdk-dafny}}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dafny_interop_test_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Setup MPL Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.mpl-dafny }}

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
make transpile_net CORES=$CORES

- name: Setup DBESDK Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dbesdk-dafny}}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dafny_interop_test_vector_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
fetch-depth: 0

- name: Setup MPL Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.mpl-dafny }}

Expand All @@ -83,7 +83,7 @@ jobs:
make mvn_local_deploy

- name: Setup DBESDK Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dbesdk-dafny}}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dafny_interop_test_vector_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
dotnet-version: ${{ matrix.dotnet-version }}

- name: Setup MPL Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.mpl-dafny }}

Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
make transpile_net CORES=$CORES

- name: Setup DBESDK Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dbesdk-dafny}}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_dafny_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/library_rust_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
components: rustfmt

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: nightly-2025-01-30-7db1e5f

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_vector_verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
submodules: recursive

- name: Setup Dafny
uses: dafny-lang/setup-dafny-action@v1.8.0
uses: ./submodules/MaterialProviders/.github/actions/setup_dafny/
with:
dafny-version: ${{ inputs.dafny }}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl ClientSupplier for RegionalRoleClientSupplier {

let sdk_config = tokio::task::block_in_place(|| {
tokio::runtime::Handle::current().block_on(async {
aws_config::load_defaults(aws_config::BehaviorVersion::v2024_03_28()).await
aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await
})
});
let kms_config = aws_sdk_kms::config::Builder::from(&sdk_config)
Expand Down
4 changes: 2 additions & 2 deletions TestVectors/runtimes/rust/src/create_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {

let table_configs = crate::deps::aws_cryptography_dbEncryptionSdk_dynamoDb_transforms::conversions::dynamo_db_tables_encryption_config::_dynamo_db_tables_encryption_config::plain_from_dafny(config);
let shared_config = DAFNY_TOKIO_RUNTIME.block_on(aws_config::load_defaults(
aws_config::BehaviorVersion::v2024_03_28()));
aws_config::BehaviorVersion::latest()));

let shared_config = shared_config
.to_builder()
Expand All @@ -49,7 +49,7 @@ impl _CreateInterceptedDDBClient_Compile::_default {
-> Rc<_Wrappers_Compile::Result<Object<dyn IDynamoDBClient>, Rc<Error>>>
{
let shared_config = DAFNY_TOKIO_RUNTIME.block_on(aws_config::load_defaults(
aws_config::BehaviorVersion::v2024_03_28()));
aws_config::BehaviorVersion::latest()));

let shared_config = shared_config
.to_builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl ClientSupplier for RegionalRoleClientSupplier {

let sdk_config = tokio::task::block_in_place(|| {
tokio::runtime::Handle::current().block_on(async {
aws_config::load_defaults(aws_config::BehaviorVersion::v2024_03_28()).await
aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await
})
});
let kms_config = aws_sdk_kms::config::Builder::from(&sdk_config)
Expand Down
8 changes: 4 additions & 4 deletions releases/rust/db_esdk/src/ddb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ impl crate::r#software::amazon::cryptography::services::dynamodb::internaldafny:
let shared_config = match tokio::runtime::Handle::try_current() {
Ok(curr) => tokio::task::block_in_place(|| {
curr.block_on(async {
aws_config::load_defaults(aws_config::BehaviorVersion::v2024_03_28()).await
aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await
})
}),
Err(_) => DAFNY_TOKIO_RUNTIME.block_on(aws_config::load_defaults(
aws_config::BehaviorVersion::v2024_03_28(),
aws_config::BehaviorVersion::latest(),
)),
};
let shared_config = shared_config
Expand All @@ -58,11 +58,11 @@ impl crate::r#software::amazon::cryptography::services::dynamodb::internaldafny:
let shared_config = match tokio::runtime::Handle::try_current() {
Ok(curr) => tokio::task::block_in_place(|| {
curr.block_on(async {
aws_config::load_defaults(aws_config::BehaviorVersion::v2024_03_28()).await
aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await
})
}),
Err(_) => DAFNY_TOKIO_RUNTIME.block_on(aws_config::load_defaults(
aws_config::BehaviorVersion::v2024_03_28(),
aws_config::BehaviorVersion::latest(),
)),
};
let inner = aws_sdk_dynamodb::Client::new(&shared_config);
Expand Down
8 changes: 4 additions & 4 deletions releases/rust/db_esdk/src/kms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ impl crate::r#software::amazon::cryptography::services::kms::internaldafny::_def
let shared_config = match tokio::runtime::Handle::try_current() {
Ok(curr) => tokio::task::block_in_place(|| {
curr.block_on(async {
aws_config::load_defaults(aws_config::BehaviorVersion::v2024_03_28()).await
aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await
})
}),
Err(_) => DAFNY_TOKIO_RUNTIME.block_on(aws_config::load_defaults(
aws_config::BehaviorVersion::v2024_03_28(),
aws_config::BehaviorVersion::latest(),
)),
};

Expand All @@ -51,11 +51,11 @@ impl crate::r#software::amazon::cryptography::services::kms::internaldafny::_def
let shared_config = match tokio::runtime::Handle::try_current() {
Ok(curr) => tokio::task::block_in_place(|| {
curr.block_on(async {
aws_config::load_defaults(aws_config::BehaviorVersion::v2024_03_28()).await
aws_config::load_defaults(aws_config::BehaviorVersion::latest()).await
})
}),
Err(_) => DAFNY_TOKIO_RUNTIME.block_on(aws_config::load_defaults(
aws_config::BehaviorVersion::v2024_03_28(),
aws_config::BehaviorVersion::latest(),
)),
};

Expand Down
2 changes: 1 addition & 1 deletion submodules/MaterialProviders
Loading