Skip to content

Commit

Permalink
Merge branch 'meilisearch:main' into language-settings-and-search-par…
Browse files Browse the repository at this point in the history
…ameter
  • Loading branch information
danFbach authored Jan 22, 2025
2 parents 2cb26f9 + 07d719e commit fa220ce
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev
- name: Check release validity
run: sh .github/scripts/check-release.sh
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.101
dotnet-version: 8.x
- name: Pack
run: dotnet pack src/Meilisearch/Meilisearch.csproj -c Release -o src/Meilisearch/bin/Release
- name: Publish
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
dotnet-version: "8.0.x"
- name: Install dependencies
run: dotnet restore
- name: Build
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
dotnet-version: "8.0.x"
- name: Check with dotnet-format
run: dotnet format --version
- name: Check with dotnet-format
Expand Down
4 changes: 3 additions & 1 deletion src/Meilisearch/Meilisearch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
<!-- You may want to remove the NoWarn node in case documentation will be mandatory in the future -->
<NoWarn Condition=" '$(Configuration)' == 'Release'">$(NoWarn);1591</NoWarn>
</PropertyGroup>

<PropertyGroup>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="7.6.2" />
<PackageReference Include="System.Net.Http.Json" Version="6.0.2" />
Expand Down
7 changes: 7 additions & 0 deletions src/Meilisearch/runtimeconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"runtimeOptions": {
"configProperties": {
"System.Globalization.Invariant": true
}
}
}
11 changes: 9 additions & 2 deletions tests/Meilisearch.Tests/Meilisearch.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>

<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<NoWarn>1701;1702;CA1861</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<NoWarn>1701;1702;CA1861</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
Expand Down

0 comments on commit fa220ce

Please sign in to comment.