Skip to content

Commit 2ab83aa

Browse files
authored
Merge pull request #3 from Sa1Gur/Sa1Gur-patch-1
revert to net8 since AWS Lambda doesn't support 9 runtime
2 parents 365031f + 7d63916 commit 2ab83aa

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v4
1717
with:
18-
dotnet-version: 9.0.x
18+
dotnet-version: 8.0.x
1919
- name: Restore dependencies
2020
run: dotnet restore
2121
- name: Build

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- name: Setup .NET
1616
uses: actions/setup-dotnet@v4
1717
with:
18-
dotnet-version: 9.0.x
18+
dotnet-version: 8.0.x
1919
- name: Restore dependencies
2020
run: dotnet restore
2121
- name: Build
2222
run: dotnet build --no-restore
2323
- name: Test
24-
run: dotnet test --no-build --verbosity normal
24+
run: dotnet test --no-build --verbosity normal

src/LeetcodeDailyChallengeReminder/LeetcodeDailyChallengeReminder.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Library</OutputType>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>

src/LeetcodeDailyChallengeReminder/serverless.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
]
1313
},
1414
"Properties": {
15-
"Runtime": "dotnet9",
15+
"Runtime": "dotnet8",
1616
"CodeUri": ".",
1717
"MemorySize": 512,
1818
"Timeout": 30,
@@ -41,7 +41,7 @@
4141
]
4242
},
4343
"Properties": {
44-
"Runtime": "dotnet9",
44+
"Runtime": "dotnet8",
4545
"CodeUri": ".",
4646
"MemorySize": 512,
4747
"Timeout": 30,

test/LeetcodeDailyChallengeReminder.Tests/LeetcodeDailyChallengeReminder.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net9.0</TargetFramework>
3+
<TargetFramework>net8.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
66
<IsTestProject>true</IsTestProject>

0 commit comments

Comments
 (0)