Skip to content

Commit

Permalink
target dotnet 9.0 for test and sample projects (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee authored Nov 20, 2024
1 parent 8843e2f commit 8e6d2f0
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"image": "mcr.microsoft.com/devcontainers/dotnet:dev-9.0",
"postCreateCommand": "dotnet restore",
"features": {
"ghcr.io/devcontainers/features/dotnet": {
"dotnetRuntimeVersions": "6.0"
}
"ghcr.io/devcontainers/features/dotnet": {}
},
"customizations": {
"vscode": {
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ jobs:
fetch-depth: 0
- name: 'Install .NET Core SDK'
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0
with:
dotnet-version: |
6.0.x
9.0.x
- name: 'Dotnet Tool Restore'
run: dotnet tool restore
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion samples/AspNetCore/AspNetCore.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CA1848;IDE0021;IDE0053;VSTHRD111</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/AzureFunctions/AzureFunctions.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<AzureFunctionsVersion>V4</AzureFunctionsVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CA1848;IDE0021;IDE0053;VSTHRD111</NoWarn>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Label="Build">
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup Label="Project References">
Expand Down
2 changes: 1 addition & 1 deletion test/Octokit.Webhooks.Test/Octokit.Webhooks.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Label="Build">
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

<ItemGroup Label="Project References">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup Label="Build">
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

</Project>

0 comments on commit 8e6d2f0

Please sign in to comment.