From c3a8d722f8ff06b02005d6a604b77626d7a8b75f Mon Sep 17 00:00:00 2001 From: Romfos Date: Fri, 15 Sep 2023 18:11:59 +0300 Subject: [PATCH] Added .NET 8 to test platforms (#22) --- .github/workflows/release.yml | 3 +-- .github/workflows/verify.yml | 2 +- src/Directory.Build.props | 2 +- src/Testing.Autofac.Tests/Testing.Autofac.Tests.csproj | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e1c8e92..974f8b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,6 @@ on: description: "Nuget package version" required: true type: string - default: "1.3.0" jobs: release: @@ -17,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Pack nuget package run: dotnet pack ./src/Testing.Autofac.sln -c Release -p:Version=${{ inputs.Version }} -o "./build" diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a3abe3d..072d30a 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -10,7 +10,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 7.0.x + dotnet-version: 8.0.x - name: Build run: dotnet build ./src/Testing.Autofac.sln diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 18b3b37..2d78db6 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -2,7 +2,7 @@ true - 11 + 12 enable diff --git a/src/Testing.Autofac.Tests/Testing.Autofac.Tests.csproj b/src/Testing.Autofac.Tests/Testing.Autofac.Tests.csproj index 1f5eb74..6f04d7f 100644 --- a/src/Testing.Autofac.Tests/Testing.Autofac.Tests.csproj +++ b/src/Testing.Autofac.Tests/Testing.Autofac.Tests.csproj @@ -1,7 +1,7 @@ - net7.0;net6.0;net462 + net8.0;net7.0;net6.0;net462 false