File tree Expand file tree Collapse file tree 5 files changed +13
-12
lines changed
src/LeetcodeDailyChallengeReminder
test/LeetcodeDailyChallengeReminder.Tests Expand file tree Collapse file tree 5 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 1717 - name : Setup .NET
1818 uses : actions/setup-dotnet@v4
1919 with :
20- dotnet-version : 8 .0.x
20+ dotnet-version : 9 .0.x
2121 - name : Restore dependencies
2222 run : dotnet restore
2323 - name : Build
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <OutputType >Library</OutputType >
4- <TargetFramework >net8 .0</TargetFramework >
4+ <TargetFramework >net9 .0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
77 <GenerateRuntimeConfigurationFiles >true</GenerateRuntimeConfigurationFiles >
2626 <ItemGroup >
2727 <FrameworkReference Include =" Microsoft.AspNetCore.App" />
2828 </ItemGroup >
29- </Project >
29+ </Project >
Original file line number Diff line number Diff line change 1212 ]
1313 },
1414 "Properties": {
15- "Runtime": "dotnet8 ",
15+ "Runtime": "dotnet9 ",
1616 "CodeUri": ".",
1717 "MemorySize": 512,
1818 "Timeout": 30,
7070 }
7171 }
7272 }
73- }
73+ }
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public FunctionsTest()
2727
2828 [ Fact ]
2929 [ Description ( "We expect the test to fail when calling the bot after successfully getting credentials." ) ]
30- public async void TestCredentials ( )
30+ public async Task TestCredentials ( )
3131 {
3232 TestLambdaContext context = new ( ) ;
3333
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFramework >net8 .0</TargetFramework >
3+ <TargetFramework >net9 .0</TargetFramework >
44 <ImplicitUsings >enable</ImplicitUsings >
55 <Nullable >enable</Nullable >
6- <IsTestProject >true</IsTestProject >
6+ <IsTestProject >true</IsTestProject >
7+ <OutputType >Exe</OutputType >
78 </PropertyGroup >
89 <ItemGroup >
910 <PackageReference Include =" Amazon.Lambda.Core" Version =" 2.2.0" />
1011 <PackageReference Include =" Amazon.Lambda.TestUtilities" Version =" 2.0.0" />
1112 <PackageReference Include =" Amazon.Lambda.APIGatewayEvents" Version =" 2.7.0" />
12- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.0 .0" />
13- <PackageReference Include =" xunit" Version =" 2.4.2 " />
14- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5 " />
13+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.12 .0" />
14+ <PackageReference Include =" xunit.v3 " Version =" 1.0.1 " />
15+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 3.0.1 " />
1516 <PackageReference Include =" Moq" Version =" 4.18.2" />
1617 </ItemGroup >
1718 <ItemGroup >
1819 <ProjectReference Include =" ../../src/LeetcodeDailyChallengeReminder/LeetcodeDailyChallengeReminder.csproj" />
1920 </ItemGroup >
20- </Project >
21+ </Project >
You can’t perform that action at this time.
0 commit comments