From c1f06c20d263a5e915b0886e24066280ba7ba8dc Mon Sep 17 00:00:00 2001 From: Florian Hockmann Date: Wed, 31 Jan 2024 13:57:54 +0100 Subject: [PATCH] Update to .NET 8 This is only relevant for contributors. Nothing changes for users. Fixes #164 Signed-off-by: Florian Hockmann --- .github/workflows/dotnet.yml | 4 ++-- BUILDING.md | 4 ++-- src/JanusGraph.Net/JanusGraph.Net.csproj | 2 +- .../JanusGraph.Net.IntegrationTest.csproj | 2 +- test/JanusGraph.Net.UnitTest/JanusGraph.Net.UnitTest.csproj | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 71e16f3..d0380cb 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -37,7 +37,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Install dependencies run: "dotnet restore" - name: Build @@ -66,6 +66,6 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Push to NuGet Feed run: dotnet nuget push './artifacts/*.nupkg' --skip-duplicate --source "$NUGET_FEED" --api-key "$NUGET_KEY" diff --git a/BUILDING.md b/BUILDING.md index 76951ba..9328eda 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -4,7 +4,7 @@ JanusGraph.Net uses dotnet build for convenient builds across platforms. ## Requirements -* [.NET 6.0 SDK (version >= 2.1.400)][dotnet-sdk] is needed to build and test the project. +* [.NET 8.0 SDK][dotnet-sdk] is needed to build and test the project. * [Docker][docker] needs to be running in order to execute the integration tests as they automatically start a JanusGraph Docker container. @@ -43,6 +43,6 @@ successfully. The version number used for the tag should correspond to the version in the `.csproj` file as that version is used for the NuGet package. -[dotnet-sdk]: https://dotnet.microsoft.com/en-us/download/dotnet/6.0 +[dotnet-sdk]: https://dotnet.microsoft.com/en-us/download/dotnet [docker]: https://www.docker.com/ [git-tag]: https://git-scm.com/book/en/v2/Git-Basics-Tagging diff --git a/src/JanusGraph.Net/JanusGraph.Net.csproj b/src/JanusGraph.Net/JanusGraph.Net.csproj index 71795b5..9905d17 100644 --- a/src/JanusGraph.Net/JanusGraph.Net.csproj +++ b/src/JanusGraph.Net/JanusGraph.Net.csproj @@ -6,7 +6,7 @@ True True snupkg - 9 + 12 enable 1.0.0 JanusGraph.Net diff --git a/test/JanusGraph.Net.IntegrationTest/JanusGraph.Net.IntegrationTest.csproj b/test/JanusGraph.Net.IntegrationTest/JanusGraph.Net.IntegrationTest.csproj index a49f741..299da6b 100644 --- a/test/JanusGraph.Net.IntegrationTest/JanusGraph.Net.IntegrationTest.csproj +++ b/test/JanusGraph.Net.IntegrationTest/JanusGraph.Net.IntegrationTest.csproj @@ -1,6 +1,6 @@ - net6 + net8.0 false diff --git a/test/JanusGraph.Net.UnitTest/JanusGraph.Net.UnitTest.csproj b/test/JanusGraph.Net.UnitTest/JanusGraph.Net.UnitTest.csproj index 75d4caa..31b1451 100644 --- a/test/JanusGraph.Net.UnitTest/JanusGraph.Net.UnitTest.csproj +++ b/test/JanusGraph.Net.UnitTest/JanusGraph.Net.UnitTest.csproj @@ -1,6 +1,6 @@ - net6 + net8.0 false