diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index da331674..89dc3a19 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -57,10 +57,12 @@ jobs: uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a with: dotnet-version: 6.0.405 - - uses: nikeee/docfx-action@b9c2cf92e3b4aa06878a1410833a8828b4bdcd26 #1.0.0 - name: Build Documentation - with: - args: apidocs/docfx.json + + - name: Build Api Docs + run: | + dotnet tool install -g docfx + docfx apidocs/docfx.json + - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef with: diff --git a/examples/BatchProcessing/src/HelloWorld/HelloWorld.csproj b/examples/BatchProcessing/src/HelloWorld/HelloWorld.csproj index ddbd7f4e..1d970ca9 100644 --- a/examples/BatchProcessing/src/HelloWorld/HelloWorld.csproj +++ b/examples/BatchProcessing/src/HelloWorld/HelloWorld.csproj @@ -5,10 +5,10 @@ enable - - - - - + + + + + diff --git a/examples/BatchProcessing/test/HelloWorld.Test/FunctionTest.cs b/examples/BatchProcessing/test/HelloWorld.Test/FunctionTest.cs index 6cc8af5d..205c7edc 100644 --- a/examples/BatchProcessing/test/HelloWorld.Test/FunctionTest.cs +++ b/examples/BatchProcessing/test/HelloWorld.Test/FunctionTest.cs @@ -17,7 +17,6 @@ using System.IO; using System.Text; using System.Threading.Tasks; -using Amazon.DynamoDBv2.Model; using Amazon.Lambda.DynamoDBEvents; using Amazon.Lambda.KinesisEvents; using Amazon.Lambda.SQSEvents; @@ -238,15 +237,15 @@ public Task TestDynamoDb() new() { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "1" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "1" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } } }, SequenceNumber = "1" } @@ -254,15 +253,15 @@ public Task TestDynamoDb() new() { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "1" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "1" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "failure" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "failure" } } }, SequenceNumber = "2" } @@ -270,15 +269,15 @@ public Task TestDynamoDb() new() { EventID = "1", - Dynamodb = new StreamRecord + Dynamodb = new DynamoDBEvent.StreamRecord { - Keys = new Dictionary + Keys = new Dictionary { - { "Id", new AttributeValue { N = "1" } } + { "Id", new DynamoDBEvent.AttributeValue { N = "1" } } }, - NewImage = new Dictionary + NewImage = new Dictionary { - { "Product", new AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } } + { "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } } }, SequenceNumber = "3" } @@ -301,4 +300,4 @@ public Task TestDynamoDb() return Task.CompletedTask; } } -} \ No newline at end of file +} diff --git a/examples/BatchProcessing/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/BatchProcessing/test/HelloWorld.Test/HelloWorld.Tests.csproj index fe9b08e0..fd097307 100644 --- a/examples/BatchProcessing/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/BatchProcessing/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -3,14 +3,17 @@ net6.0;net8.0 - + + + + - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -18,4 +21,4 @@ - \ No newline at end of file + diff --git a/examples/Idempotency/src/HelloWorld/HelloWorld.csproj b/examples/Idempotency/src/HelloWorld/HelloWorld.csproj index 645f82af..9f776ce0 100644 --- a/examples/Idempotency/src/HelloWorld/HelloWorld.csproj +++ b/examples/Idempotency/src/HelloWorld/HelloWorld.csproj @@ -5,9 +5,9 @@ enable - - - + + + diff --git a/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj index 6afa095c..124434c8 100644 --- a/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -3,13 +3,13 @@ net6.0;net8.0 - + - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Logging/src/HelloWorld/HelloWorld.csproj b/examples/Logging/src/HelloWorld/HelloWorld.csproj index 57b2016b..a970a2f0 100644 --- a/examples/Logging/src/HelloWorld/HelloWorld.csproj +++ b/examples/Logging/src/HelloWorld/HelloWorld.csproj @@ -5,10 +5,10 @@ enable - - - + + + - + diff --git a/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj index 7a509010..fd219221 100644 --- a/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -3,14 +3,14 @@ net6.0;net8.0 - + - - - + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Metrics/src/HelloWorld/HelloWorld.csproj b/examples/Metrics/src/HelloWorld/HelloWorld.csproj index a3bd7722..d6eee6b5 100644 --- a/examples/Metrics/src/HelloWorld/HelloWorld.csproj +++ b/examples/Metrics/src/HelloWorld/HelloWorld.csproj @@ -5,11 +5,11 @@ enable - - - + + + - + diff --git a/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj index 7a509010..fd219221 100644 --- a/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -3,14 +3,14 @@ net6.0;net8.0 - + - - - + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Parameters/cfn/HelloWorld.Cfn/HelloWorld.Cfn.csproj b/examples/Parameters/cfn/HelloWorld.Cfn/HelloWorld.Cfn.csproj index cf56c361..f58f530c 100644 --- a/examples/Parameters/cfn/HelloWorld.Cfn/HelloWorld.Cfn.csproj +++ b/examples/Parameters/cfn/HelloWorld.Cfn/HelloWorld.Cfn.csproj @@ -6,8 +6,8 @@ HelloWorld.Cfn - - + + diff --git a/examples/Parameters/src/HelloWorld/HelloWorld.csproj b/examples/Parameters/src/HelloWorld/HelloWorld.csproj index 8d258c52..f49341df 100644 --- a/examples/Parameters/src/HelloWorld/HelloWorld.csproj +++ b/examples/Parameters/src/HelloWorld/HelloWorld.csproj @@ -5,9 +5,9 @@ enable - - - + + + diff --git a/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj index 0c7418eb..75fef51b 100644 --- a/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Parameters/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -3,13 +3,13 @@ net6.0;net8.0 - + - - + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj index e3ad28df..ce9c7cb4 100644 --- a/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj +++ b/examples/ServerlessApi/src/LambdaPowertoolsAPI/LambdaPowertoolsAPI.csproj @@ -12,7 +12,7 @@ true - + diff --git a/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj b/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj index de239d45..d9cdaef4 100644 --- a/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj +++ b/examples/ServerlessApi/test/LambdaPowertoolsAPI.Tests/LambdaPowertoolsAPI.Tests.csproj @@ -16,13 +16,13 @@ - + - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/examples/Tracing/src/HelloWorld/HelloWorld.csproj b/examples/Tracing/src/HelloWorld/HelloWorld.csproj index e7338a4a..e6bf4310 100644 --- a/examples/Tracing/src/HelloWorld/HelloWorld.csproj +++ b/examples/Tracing/src/HelloWorld/HelloWorld.csproj @@ -5,11 +5,11 @@ enable - - - + + + - + diff --git a/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj b/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj index 7a509010..fd219221 100644 --- a/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj +++ b/examples/Tracing/test/HelloWorld.Test/HelloWorld.Tests.csproj @@ -3,14 +3,14 @@ net6.0;net8.0 - + - - - + + + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive