From 90f6e5626fd8e7575da0669a302eda9c6f550b77 Mon Sep 17 00:00:00 2001 From: Thomas Jespersen Date: Fri, 10 Nov 2023 17:39:26 +0100 Subject: [PATCH] Add jetbrains.resharper.globaltools to dotnet-tools.json, replace muno92/resharper_inspectcode@1.9.0 with dotnet jb inspectcode --- .github/workflows/application.yml | 10 ++++------ application/dotnet-tools.json | 6 ++++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/application.yml b/.github/workflows/application.yml index 2a44095bc..b9480199a 100644 --- a/.github/workflows/application.yml +++ b/.github/workflows/application.yml @@ -105,12 +105,10 @@ jobs: dotnet-version: 7.0.x - name: Run code inspections - uses: muno92/resharper_inspectcode@1.9.0 - with: - solutionPath: application/PlatformPlatform.sln - minimumSeverity: warning - # Ignore cases where property getters are not called directly (e.g., on DTOs that are serialized) - ignoreIssueType: UnusedAutoPropertyAccessor.Global + working-directory: application + run: | + dotnet tool restore + dotnet jb inspectcode PlatformPlatform.sln --build --output=result.xml --severity=WARNING account-management-api-publish: name: Account Management API Publish diff --git a/application/dotnet-tools.json b/application/dotnet-tools.json index 9672707ed..d07236a08 100644 --- a/application/dotnet-tools.json +++ b/application/dotnet-tools.json @@ -7,6 +7,12 @@ "commands": [ "swagger" ] + }, + "jetbrains.resharper.globaltools": { + "version": "2023.2.3", + "commands": [ + "jb" + ] } } } \ No newline at end of file