From 1ca3d0020f7b87781346f99e7ec096aa3daadc81 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Sun, 26 Jan 2025 16:47:46 +0100 Subject: [PATCH] ci: attempt3 Signed-off-by: Timothy Schenk --- Benchmarks/Benchmarks.csproj | 10 +- .../Continuity.AuthServer.csproj | 32 ++-- .../Continuity.WorldServer.csproj | 8 + Wonderking/Wonderking.csproj | 12 +- qodana.yaml | 155 ++++++++++++++---- 5 files changed, 163 insertions(+), 54 deletions(-) diff --git a/Benchmarks/Benchmarks.csproj b/Benchmarks/Benchmarks.csproj index ce20a9d..cd947b8 100644 --- a/Benchmarks/Benchmarks.csproj +++ b/Benchmarks/Benchmarks.csproj @@ -9,19 +9,15 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/Continuity.AuthServer/Continuity.AuthServer.csproj b/Continuity.AuthServer/Continuity.AuthServer.csproj index 1ece186..d956412 100644 --- a/Continuity.AuthServer/Continuity.AuthServer.csproj +++ b/Continuity.AuthServer/Continuity.AuthServer.csproj @@ -36,15 +36,11 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -84,22 +80,30 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Continuity.WorldServer/Continuity.WorldServer.csproj b/Continuity.WorldServer/Continuity.WorldServer.csproj index 5d55287..cc6dc93 100644 --- a/Continuity.WorldServer/Continuity.WorldServer.csproj +++ b/Continuity.WorldServer/Continuity.WorldServer.csproj @@ -12,6 +12,14 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Wonderking/Wonderking.csproj b/Wonderking/Wonderking.csproj index 5a2d96b..1388338 100644 --- a/Wonderking/Wonderking.csproj +++ b/Wonderking/Wonderking.csproj @@ -9,10 +9,6 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -36,6 +32,14 @@ runtime; build; native; contentfiles; analyzers; buildtransitive + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/qodana.yaml b/qodana.yaml index 18ea356..22b065e 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -1,33 +1,130 @@ version: '1.0' linter: jetbrains/qodana-dotnet:2024.3 -bootstrap: curl -fsSL https://dot.net/v1/dotnet-install.sh | bash -s -- - --jsonfile /data/project/global.json -i /usr/share/dotnet +bootstrap: curl -fsSL https://dot.net/v1/dotnet-install.sh | bash -s -- --jsonfile /data/project/global.json -i /usr/share/dotnet dotnet: - solution: "Continuity.slnx" + solution: Continuity.slnx +exclude: +- name: All + paths: + - Benchmarks include: - - name: HeapView.BoxingAllocation - - name: ClassNeverInstantiated.Global - - name: ClassWithVirtualMembersNeverInherited.Global - - name: HeapView.ClosureAllocation - - name: HeapView.DelegateAllocation - - name: MemberCanBePrivate.Global - - name: HeapView.ObjectAllocation - - name: HeapView.ObjectAllocation.Evident - - name: HeapView.ObjectAllocation.Possible - - name: PropertyCanBeMadeInitOnly.Global - - name: ReplaceSliceWithRangeIndexer - - name: MA0003 - - name: MA0106 - - name: CA1050 - - name: MA0018 - - name: MA0042 - - name: CA1069 - - name: CA1872 - - name: MA0001 - - name: UnusedType.Global - - name: UnusedMemberInSuper.Global - - name: UnusedMember.Global - - name: UnassignedField.Global - - name: UseCollectionExpression - - name: UseObjectOrCollectionInitializer - - name: SuggestVarOrType_BuiltInTypes +- name: UnusedMember.Global +- name: HeapView.BoxingAllocation +- name: ClassNeverInstantiated.Global +- name: ClassWithVirtualMembersNeverInherited.Global +- name: HeapView.ClosureAllocation +- name: HeapView.DelegateAllocation +- name: MemberCanBePrivate.Global +- name: HeapView.ObjectAllocation +- name: HeapView.ObjectAllocation.Evident +- name: HeapView.ObjectAllocation.Possible +- name: PropertyCanBeMadeInitOnly.Global +- name: ReplaceSliceWithRangeIndexer +- name: UnusedType.Global +- name: UnusedMemberInSuper.Global +- name: UseCollectionExpression +- name: UseObjectOrCollectionInitializer +- name: MA0001 +- name: MA0002 +- name: MA0003 +- name: MA0004 +- name: MA0005 +- name: MA0006 +- name: MA0007 +- name: MA0008 +- name: MA0009 +- name: MA0010 +- name: MA0011 +- name: MA0012 +- name: MA0013 +- name: MA0014 +- name: MA0015 +- name: MA0016 +- name: MA0017 +- name: MA0018 +- name: MA0019 +- name: MA0020 +- name: MA0021 +- name: MA0022 +- name: MA0023 +- name: MA0024 +- name: MA0025 +- name: MA0026 +- name: MA0027 +- name: MA0028 +- name: MA0029 +- name: MA0030 +- name: MA0031 +- name: MA0032 +- name: MA0033 +- name: MA0034 +- name: MA0035 +- name: MA0036 +- name: MA0037 +- name: MA0038 +- name: MA0039 +- name: MA0040 +- name: MA0041 +- name: MA0042 +- name: MA0043 +- name: MA0044 +- name: MA0045 +- name: MA0046 +- name: MA0047 +- name: MA0048 +- name: MA0049 +- name: MA0050 +- name: MA0051 +- name: MA0052 +- name: MA0053 +- name: MA0054 +- name: MA0055 +- name: MA0056 +- name: MA0057 +- name: MA0058 +- name: MA0059 +- name: MA0060 +- name: MA0061 +- name: MA0062 +- name: MA0063 +- name: MA0064 +- name: MA0065 +- name: MA0066 +- name: MA0067 +- name: MA0068 +- name: MA0069 +- name: MA0070 +- name: MA0071 +- name: MA0072 +- name: MA0073 +- name: MA0074 +- name: MA0075 +- name: MA0076 +- name: MA0077 +- name: MA0078 +- name: MA0079 +- name: MA0080 +- name: MA0081 +- name: MA0082 +- name: MA0083 +- name: MA0084 +- name: MA0085 +- name: MA0086 +- name: MA0087 +- name: MA0088 +- name: MA0089 +- name: MA0090 +- name: MA0091 +- name: MA0092 +- name: MA0093 +- name: MA0094 +- name: MA0095 +- name: MA0096 +- name: MA0097 +- name: MA0098 +- name: MA0099 +- name: MA0100 +- name: All +- name: CA1050 +- name: CA1069 +- name: CA1872