From 992d339250e70a610fe884a854cf6808292f4f65 Mon Sep 17 00:00:00 2001 From: Ivan Maximov Date: Sun, 15 Dec 2024 12:34:38 +0300 Subject: [PATCH] Migrate to .NET9 (#133) --- .github/workflows/benchmarks.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/publish-preview.yml | 2 +- .github/workflows/publish-release.yml | 2 +- .github/workflows/test.yml | 5 +---- src/Benchmarks/Benchmarks.csproj | 2 +- .../Destructurama.Attributed.Tests.csproj | 4 ++-- 7 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 8ff0130..d804f4f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -21,7 +21,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Run benchmarks working-directory: src/Benchmarks diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 880ece5..b5ec59d 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Initialize CodeQL uses: github/codeql-action/init@v3 diff --git a/.github/workflows/publish-preview.yml b/.github/workflows/publish-preview.yml index e0112ef..67d772c 100644 --- a/.github/workflows/publish-preview.yml +++ b/.github/workflows/publish-preview.yml @@ -25,7 +25,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x source-url: https://nuget.pkg.github.com/destructurama/index.json env: NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 63fc770..f50be0d 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -19,7 +19,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x source-url: https://api.nuget.org/v3/index.json env: NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea544e1..f5ef169 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,10 +35,7 @@ jobs: - name: Setup .NET SDKs uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 6.0.x - 7.0.x - 8.0.x + dotnet-version: 9.0.x source-url: https://nuget.pkg.github.com/destructurama/index.json env: NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/src/Benchmarks/Benchmarks.csproj b/src/Benchmarks/Benchmarks.csproj index 621205c..64ab400 100644 --- a/src/Benchmarks/Benchmarks.csproj +++ b/src/Benchmarks/Benchmarks.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 $(NoWarn);1591 false diff --git a/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj b/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj index 53cccd1..4857481 100644 --- a/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj +++ b/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj @@ -1,8 +1,8 @@ - net8.0;net462 - net8.0 + net9.0;net462 + net9.0 false $(NoWarn);1591 $(DefineConstants);CODE_GENERATION_ATTRIBUTES