Skip to content

Commit 6f4173d

Browse files
committed
Upgrade to the net 90.
1 parent c258846 commit 6f4173d

File tree

6 files changed

+34
-33
lines changed

6 files changed

+34
-33
lines changed

.github/workflows/dotnet.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@ name: Build and Test
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ['main']
66
paths-ignore:
7-
- '*.md'
7+
- '*.md'
88
pull_request:
9-
branches: [ "main" ]
9+
branches: ['main']
1010
paths-ignore:
11-
- '*.md'
11+
- '*.md'
1212

1313
jobs:
1414
build:
15-
1615
runs-on: ubuntu-latest
1716
steps:
18-
- uses: actions/checkout@v3
19-
- name: Setup .NET
20-
uses: actions/setup-dotnet@v3
21-
with:
22-
dotnet-version: |
23-
8.0.x
24-
7.0.x
25-
6.0.x
26-
- name: Display dotnet version
27-
run: dotnet --version
28-
- name: Restore dependencies
29-
working-directory: ./src
30-
run: dotnet restore
31-
- name: Build
32-
run: dotnet build --configuration Release --no-restore
33-
working-directory: ./src
34-
- name: Test
35-
run: dotnet test --no-build --configuration Release --verbosity normal
36-
working-directory: ./src
17+
- uses: actions/checkout@v3
18+
- name: Setup .NET
19+
uses: actions/setup-dotnet@v3
20+
with:
21+
dotnet-version: |
22+
9.0.x
23+
8.0.x
24+
7.0.x
25+
6.0.x
26+
- name: Display dotnet version
27+
run: dotnet --version
28+
- name: Restore dependencies
29+
working-directory: ./src
30+
run: dotnet restore
31+
- name: Build
32+
run: dotnet build --configuration Release --no-restore
33+
working-directory: ./src
34+
- name: Test
35+
run: dotnet test --no-build --configuration Release --verbosity normal
36+
working-directory: ./src

.github/workflows/publish-nuget.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
uses: actions/setup-dotnet@v3
1616
with:
1717
dotnet-version: |
18+
9.0.x
1819
8.0.x
1920
7.0.x
2021
6.0.x

src/ZoneTree.FullTextSearch.Playground/ZoneTree.FullTextSearch.Playground.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
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>disable</Nullable>
88
</PropertyGroup>

src/ZoneTree.FullTextSearch.UnitTests/ZoneTree.FullTextSearch.UnitTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>disable</Nullable>
77

@@ -14,9 +14,9 @@
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
18-
<PackageReference Include="NUnit" Version="4.2.1" />
19-
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
18+
<PackageReference Include="NUnit" Version="4.2.2" />
19+
<PackageReference Include="NUnit.Analyzers" Version="4.4.0">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>

src/ZoneTree.FullTextSearch/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<Authors>Ahmed Yasin Koculu</Authors>
66
<PackageId>ZoneTree.FullTextSearch</PackageId>
77
<Title>ZoneTree.FullTextSearch</Title>
8-
<ProductVersion>1.0.6.0</ProductVersion>
9-
<Version>1.0.6.0</Version>
8+
<ProductVersion>1.0.7.0</ProductVersion>
9+
<Version>1.0.7.0</Version>
1010
<Authors>Ahmed Yasin Koculu</Authors>
1111
<AssemblyTitle>ZoneTree.FullTextSearch</AssemblyTitle>
1212
<Description>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.</Description>

src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net7.0;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0;net8.0;net7.0;net6.0</TargetFrameworks>
55
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
66
<NeutralLanguage>en-US</NeutralLanguage>
77
<RepositoryUrl>https://github.com/koculu/ZoneTree.FullTextSearch</RepositoryUrl>
@@ -38,7 +38,7 @@
3838
<PrivateAssets>all</PrivateAssets>
3939
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4040
</PackageReference>
41-
<PackageReference Include="ZoneTree" Version="1.8.3" />
41+
<PackageReference Include="ZoneTree" Version="1.8.4" />
4242
</ItemGroup>
4343

4444
<ItemGroup>

0 commit comments

Comments
 (0)