chore: analyzer setup
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sbom-scan (push) Successful in 30s
Build, Package and Push Images / sonarqube (push) Successful in 1m18s
Build, Package and Push Images / container-build (push) Successful in 1m22s
Build, Package and Push Images / container-sbom-scan (push) Successful in 2m19s
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sbom-scan (push) Successful in 30s
Build, Package and Push Images / sonarqube (push) Successful in 1m18s
Build, Package and Push Images / container-build (push) Successful in 1m22s
Build, Package and Push Images / container-sbom-scan (push) Successful in 2m19s
This commit is contained in:
parent
df8c829476
commit
fdb377dbc0
6 changed files with 49 additions and 15 deletions
|
@ -13,6 +13,11 @@
|
||||||
; This is the default for the codeline.
|
; This is the default for the codeline.
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
|
; For disabling MA0048 and MA0051 in a specific folder, e.g., Migrations
|
||||||
|
[**/Migrations/*.cs]
|
||||||
|
dotnet_diagnostic.MA0048.severity = none
|
||||||
|
dotnet_diagnostic.MA0051.severity = none
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
|
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
|
||||||
|
<PackageReference Include="Meziantou.Analyzer" Version="2.0.104">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
<LangVersion>default</LangVersion>
|
<LangVersion>default</LangVersion>
|
||||||
<ServerGarbageCollection>true</ServerGarbageCollection>
|
<ServerGarbageCollection>true</ServerGarbageCollection>
|
||||||
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
|
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
|
||||||
|
<Features>strict</Features>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -18,16 +19,16 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="AsyncFixer" Version="1.6.0">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="DotNext" Version="4.15.0" />
|
<PackageReference Include="DotNext" Version="4.15.0" />
|
||||||
<PackageReference Include="DotNext.IO" Version="4.15.0"/>
|
<PackageReference Include="DotNext.IO" Version="4.15.0"/>
|
||||||
<PackageReference Include="DotNext.Metaprogramming" Version="4.15.0"/>
|
<PackageReference Include="DotNext.Metaprogramming" Version="4.15.0"/>
|
||||||
<PackageReference Include="DotNext.Reflection" Version="4.9.0"/>
|
<PackageReference Include="DotNext.Reflection" Version="4.9.0"/>
|
||||||
<PackageReference Include="DotNext.Threading" Version="4.14.2"/>
|
<PackageReference Include="DotNext.Threading" Version="4.14.2"/>
|
||||||
<PackageReference Include="DotNext.Unsafe" Version="4.14.0"/>
|
<PackageReference Include="DotNext.Unsafe" Version="4.14.0"/>
|
||||||
<PackageReference Include="ErrorProne.NET.CoreAnalyzers" Version="0.1.2">
|
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
||||||
</PackageReference>
|
|
||||||
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0"/>
|
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0"/>
|
||||||
<PackageReference Include="JetBrains.ExternalAnnotations" Version="10.2.134" />
|
<PackageReference Include="JetBrains.ExternalAnnotations" Version="10.2.134" />
|
||||||
<PackageReference Include="Konscious.Security.Cryptography.Argon2" Version="1.3.0"/>
|
<PackageReference Include="Konscious.Security.Cryptography.Argon2" Version="1.3.0"/>
|
||||||
|
@ -36,6 +37,14 @@
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
|
<PackageReference Include="Meziantou.Analyzer" Version="2.0.104">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23165.1">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="7.0.13" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Abstractions" Version="7.0.13" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="7.0.13" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Analyzers" Version="7.0.13" />
|
||||||
|
@ -58,10 +67,6 @@
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0"/>
|
<PackageReference Include="Serilog.Extensions.Logging.File" Version="3.0.0"/>
|
||||||
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.12.0.78982">
|
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
||||||
</PackageReference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -12,5 +12,5 @@ public class ChannelSelectionPacket : IPacket
|
||||||
this.ChannelId = BitConverter.ToUInt16(data, 2);
|
this.ChannelId = BitConverter.ToUInt16(data, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte[] Serialize() => throw new NotImplementedException();
|
public byte[] Serialize() => throw new NotSupportedException();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Wonderking.Packets.Outgoing;
|
namespace Wonderking.Packets.Outgoing;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Auto)]
|
||||||
public struct ServerChannelData
|
public struct ServerChannelData
|
||||||
{
|
{
|
||||||
public ushort ServerId { get; set; }
|
public ushort ServerId { get; set; }
|
||||||
|
|
|
@ -4,10 +4,27 @@
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
|
<TargetFrameworks>net8.0;net7.0</TargetFrameworks>
|
||||||
|
<Features>strict</Features>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="AsyncFixer" Version="1.6.0">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0" />
|
<PackageReference Include="JetBrains.Annotations" Version="2023.2.0" />
|
||||||
|
<PackageReference Include="Meziantou.Analyzer" Version="2.0.104">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0-preview1.23165.1">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
|
<PackageReference Include="Nullable.Extended.Analyzer" Version="1.10.4539">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in a new issue