Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# Dependabot yapilandirmasi. Belgeler:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "nuget" # See documentation for possible values
directory: "/src/" # Location of package manifests
# NuGet: uc proje de ayri dizinlerde. Yalnizca "/src" verilirse tests/ ve
# samples/ altindaki paketler HIC izlenmez.
- package-ecosystem: "nuget"
directories:
- "/src"
- "/tests"
- "/samples"
schedule:
interval: "weekly"

# CI'daki action surumleri (checkout, setup-dotnet) NuGet ekosistemine dahil
# degildir; bu giris olmadan hic guncellenmez.
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Restore NuGet Packages
run: dotnet restore
- name: Clean solution
Expand Down
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"test": {
"runner": "Microsoft.Testing.Platform"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
10 changes: 5 additions & 5 deletions src/Devoplus.DataGuardian/Devoplus.DataGuardian.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<WarningsAsErrors>nullable</WarningsAsErrors>
Expand All @@ -19,10 +19,10 @@
<Version>1.0.1</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="libphonenumber-csharp" Version="9.0.13" />
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.18.0" />
<PackageReference Include="Microsoft.ML.Tokenizers" Version="0.22.0" />
<PackageReference Include="Google.Protobuf" Version="3.27.1" />
<PackageReference Include="libphonenumber-csharp" Version="9.0.41" />
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="1.31.0" />
<PackageReference Include="Microsoft.ML.Tokenizers" Version="2.0.1" />
<PackageReference Include="Google.Protobuf" Version="3.36.2" />
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<OutputType>Exe</OutputType>
<IsPackable>false</IsPackable>
<Nullable>enable</Nullable>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="xunit.v3" Version="4.0.2" />
<ProjectReference Include="..\..\src\Devoplus.DataGuardian\Devoplus.DataGuardian.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7" />
<PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="Google.Protobuf" Version="3.27.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="4.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="10.1.0">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the MTP-compatible Coverlet package

When coverage is requested after this commit, global.json forces Microsoft Testing Platform while this reference installs Coverlet's VSTest-only data collector. Coverlet explicitly documents that coverlet.collector is incompatible with MTP v2 and recommends coverlet.MTP, so commands such as dotnet test --collect:"XPlat Code Coverage" can no longer collect the expected report even though ordinary test runs pass. Replace this package with coverlet.MTP, or retain VSTest for coverage runs. Coverlet's MTP guidance

Useful? React with 👍 / 👎.

<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>
Loading