Skip to content

Commit cb6c75f

Browse files
tejasgn1brmur
authored andcommitted
Lint fix by upgrading to 1.87.0 and adding SPDX header
1 parent 95176f3 commit cb6c75f

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

.github/workflows/lint-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: dtolnay/rust-toolchain@stable
2828
if: steps.changed-files.outputs.any_changed == 'true'
2929
with:
30-
toolchain: "1.83.0"
30+
toolchain: "1.87.0"
3131
components: clippy, rustfmt
3232
- name: Set Environment
3333
if: steps.changed-files.outputs.any_changed == 'true'

rustv1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
ARG MSRV=1.83.0
2+
ARG MSRV=1.87.0
33
FROM rust:$MSRV
44

55
# Update image
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This should be kept in sync with https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv
22
[toolchain]
3-
channel = "1.83.0"
3+
channel = "1.87.0"

rustv1/examples/bedrock-agent-runtime/src/bin/invoke-agent.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
3+
14
use aws_config::{BehaviorVersion, SdkConfig};
25
use aws_sdk_bedrockagentruntime::{
36
self as bedrockagentruntime,

rustv1/examples/rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This should be kept in sync with https://github.com/awslabs/aws-sdk-rust#supported-rust-versions-msrv
22
[toolchain]
3-
channel = "1.83.0"
3+
channel = "1.87.0"

0 commit comments

Comments
 (0)