Skip to content

Commit b29ae50

Browse files
authored
Migrate to .NET9 SDK (#59)
1 parent 38810c0 commit b29ae50

File tree

7 files changed

+7
-10
lines changed

7 files changed

+7
-10
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup .NET SDK
2222
uses: actions/setup-dotnet@v4
2323
with:
24-
dotnet-version: 8.0.x
24+
dotnet-version: 9.0.x
2525

2626
- name: Run benchmarks
2727
working-directory: src/Benchmarks

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET SDK
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: 9.0.x
2323

2424
- name: Initialize CodeQL
2525
uses: github/codeql-action/init@v3

.github/workflows/publish-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup .NET SDK
2626
uses: actions/setup-dotnet@v4
2727
with:
28-
dotnet-version: 8.0.x
28+
dotnet-version: 9.0.x
2929
source-url: https://nuget.pkg.github.com/destructurama/index.json
3030
env:
3131
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET SDK
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: 8.0.x
22+
dotnet-version: 9.0.x
2323
source-url: https://api.nuget.org/v3/index.json
2424
env:
2525
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

.github/workflows/test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ jobs:
3535
- name: Setup .NET SDKs
3636
uses: actions/setup-dotnet@v4
3737
with:
38-
dotnet-version: |
39-
6.0.x
40-
7.0.x
41-
8.0.x
38+
dotnet-version: 9.0.x
4239
source-url: https://nuget.pkg.github.com/destructurama/index.json
4340
env:
4441
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

src/Benchmarks/Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net8.0</TargetFramework>
5+
<TargetFramework>net9.0</TargetFramework>
66
<NoWarn>$(NoWarn);1591</NoWarn>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>

src/Destructurama.ByIgnoring.Tests/Destructurama.ByIgnoring.Tests.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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
4+
<TargetFramework>net9.0</TargetFramework>
55
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
66
<NoWarn>$(NoWarn);1591</NoWarn>
77
</PropertyGroup>

0 commit comments

Comments
 (0)