From 1756b3c9bfda62d17feaf16f066d34522d25ed00 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Sun, 31 Mar 2024 13:35:55 +0200 Subject: [PATCH] Add an inspection workflow along with solution-wide inspection settings. --- .github/workflows/dotnet.yml | 7 ++ .../inspectionProfiles/Project_Default.xml | 14 +++ Remora.Rest.sln.DotSettings | 117 ++++++++++++++++++ 3 files changed, 138 insertions(+) create mode 100644 .idea/.idea.Remora.Rest/.idea/inspectionProfiles/Project_Default.xml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9442230..e3daa7a 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -30,6 +30,13 @@ jobs: - name: Test run: dotnet test -c Release --no-restore --no-build --verbosity minimal + - name: Inspect + uses: JetBrains/ReSharper-InspectCode@v0.3 + with: + solution: Remora.Rest.sln + no-build: true + telemetry-optout: true + - name: Package if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: dotnet pack -c Release --no-restore --no-build --version-suffix "github$GITHUB_RUN_ID" diff --git a/.idea/.idea.Remora.Rest/.idea/inspectionProfiles/Project_Default.xml b/.idea/.idea.Remora.Rest/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..5064a65 --- /dev/null +++ b/.idea/.idea.Remora.Rest/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,14 @@ + + + + \ No newline at end of file diff --git a/Remora.Rest.sln.DotSettings b/Remora.Rest.sln.DotSettings index 2846715..d227216 100644 --- a/Remora.Rest.sln.DotSettings +++ b/Remora.Rest.sln.DotSettings @@ -1,10 +1,127 @@  + True + WARNING + DO_NOT_SHOW + DO_NOT_SHOW + WARNING + ERROR + WARNING + WARNING + WARNING + HINT + WARNING + WARNING + DO_NOT_SHOW + DO_NOT_SHOW + SUGGESTION + WARNING + SUGGESTION + WARNING + WARNING + WARNING + ERROR + HINT + WARNING + HINT + SUGGESTION + True + True + WARNING + False + True + Required + Required + Required + Required + False + Remove + Property, Event + 0 + 0 + USUAL_INDENT + USUAL_INDENT + False + True + True + EXPANDED + False + ALWAYS + ALWAYS + NEVER + True + True + True + CHOP_IF_LONG + CHOP_IF_LONG + True + True + True + True + True + CHOP_IF_LONG + CHOP_IF_LONG + CHOP_IF_LONG + CHOP_IF_LONG + CHOP_IF_LONG + False + False + True + True + True + Replace + False + False + True + True + False + False + True + False + False + True + True + True + True + ABC + AID + API + APNG + BID + BLS + BTH + CDN + DND DTO + GDKGL GIF + GTKGL + ID + IO ISO JPG + MDX + MPB + NEST + OS + PICS PNG REM + SKUID + UI + UR + URL + VR + XY + XZ + YZ + False + <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> + <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /> + <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /> + <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /> + <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /> + <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> + <Policy Inspect="True" Prefix="" Suffix="" Style="AaBb" /> True True True