From 6f4173d96f0c0f71c77e9b64aa1b2218efbded11 Mon Sep 17 00:00:00 2001 From: Ahmed Yasin Koculu Date: Thu, 14 Nov 2024 04:26:32 +0100 Subject: [PATCH] Upgrade to the net 90. --- .github/workflows/dotnet.yml | 48 +++++++++---------- .github/workflows/publish-nuget.yml | 1 + .../ZoneTree.FullTextSearch.Playground.csproj | 2 +- .../ZoneTree.FullTextSearch.UnitTests.csproj | 8 ++-- .../Directory.Build.props | 4 +- .../ZoneTree.FullTextSearch.csproj | 4 +- 6 files changed, 34 insertions(+), 33 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9051748..61fa785 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -2,35 +2,35 @@ name: Build and Test on: push: - branches: [ "main" ] + branches: ['main'] paths-ignore: - - '*.md' + - '*.md' pull_request: - branches: [ "main" ] + branches: ['main'] paths-ignore: - - '*.md' + - '*.md' jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 8.0.x - 7.0.x - 6.0.x - - name: Display dotnet version - run: dotnet --version - - name: Restore dependencies - working-directory: ./src - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - working-directory: ./src - - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal - working-directory: ./src + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 9.0.x + 8.0.x + 7.0.x + 6.0.x + - name: Display dotnet version + run: dotnet --version + - name: Restore dependencies + working-directory: ./src + run: dotnet restore + - name: Build + run: dotnet build --configuration Release --no-restore + working-directory: ./src + - name: Test + run: dotnet test --no-build --configuration Release --verbosity normal + working-directory: ./src diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 28cc0f3..dd1bef5 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 9.0.x 8.0.x 7.0.x 6.0.x diff --git a/src/ZoneTree.FullTextSearch.Playground/ZoneTree.FullTextSearch.Playground.csproj b/src/ZoneTree.FullTextSearch.Playground/ZoneTree.FullTextSearch.Playground.csproj index 0a46fd0..99c8a9e 100644 --- a/src/ZoneTree.FullTextSearch.Playground/ZoneTree.FullTextSearch.Playground.csproj +++ b/src/ZoneTree.FullTextSearch.Playground/ZoneTree.FullTextSearch.Playground.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 enable disable diff --git a/src/ZoneTree.FullTextSearch.UnitTests/ZoneTree.FullTextSearch.UnitTests.csproj b/src/ZoneTree.FullTextSearch.UnitTests/ZoneTree.FullTextSearch.UnitTests.csproj index 2641a29..f04296c 100644 --- a/src/ZoneTree.FullTextSearch.UnitTests/ZoneTree.FullTextSearch.UnitTests.csproj +++ b/src/ZoneTree.FullTextSearch.UnitTests/ZoneTree.FullTextSearch.UnitTests.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable disable @@ -14,9 +14,9 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/ZoneTree.FullTextSearch/Directory.Build.props b/src/ZoneTree.FullTextSearch/Directory.Build.props index 93a3755..e53044e 100644 --- a/src/ZoneTree.FullTextSearch/Directory.Build.props +++ b/src/ZoneTree.FullTextSearch/Directory.Build.props @@ -5,8 +5,8 @@ Ahmed Yasin Koculu ZoneTree.FullTextSearch ZoneTree.FullTextSearch - 1.0.6.0 - 1.0.6.0 + 1.0.7.0 + 1.0.7.0 Ahmed Yasin Koculu ZoneTree.FullTextSearch ZoneTree.FullTextSearch is an open-source library that extends ZoneTree to provide efficient full-text search capabilities. It offers a fast, embedded search engine suitable for applications that require high performance and do not rely on external databases. diff --git a/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj b/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj index b33fa9b..02b67d2 100644 --- a/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj +++ b/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj @@ -1,7 +1,7 @@  - net8.0;net7.0;net6.0 + net9.0;net8.0;net7.0;net6.0 true en-US https://github.com/koculu/ZoneTree.FullTextSearch @@ -38,7 +38,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +