From 3fb70d2871912e5f782a0834227a6a60b97f4b8d Mon Sep 17 00:00:00 2001 From: Evgeny Gorbovoy Date: Wed, 25 Dec 2024 19:44:13 +0100 Subject: [PATCH 1/3] cleanup before inspections --- .github/workflows/editorconfig.yml | 16 ++++++++-------- src/Tests/Consolonia.Core.Tests/MiscTests.cs | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index 12342d28..d7b25ae6 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -33,14 +33,6 @@ jobs: run: dotnet restore working-directory: ./src - - name: Inspect code - uses: muno92/resharper_inspectcode@1.12.0 - with: - solutionPath: ./src/Consolonia.sln - exclude: "**Consolonia.GuiCS/**.*;**Consolonia.Gallery/**.*;**Example/**.*;**Consolonia.Templates/**.*" - version: '2024.2.6' - minimumSeverity: 'warning' - - name: install-resharper run: | dotnet tool install -g JetBrains.ReSharper.GlobalTools @@ -51,6 +43,14 @@ jobs: jb cleanupcode Consolonia.sln --exclude="**Consolonia.GuiCS/**.*;**Consolonia.Templates/**.*" working-directory: ./src + - name: Inspect code + uses: muno92/resharper_inspectcode@1.12.0 + with: + solutionPath: ./src/Consolonia.sln + exclude: "**Consolonia.GuiCS/**.*;**Consolonia.Gallery/**.*;**Example/**.*;**Consolonia.Templates/**.*" + version: '2024.2.6' + minimumSeverity: 'warning' + - name: Commit files continue-on-error: true # todo: need to check whether has changes run: | diff --git a/src/Tests/Consolonia.Core.Tests/MiscTests.cs b/src/Tests/Consolonia.Core.Tests/MiscTests.cs index d502cd80..8252dcf7 100644 --- a/src/Tests/Consolonia.Core.Tests/MiscTests.cs +++ b/src/Tests/Consolonia.Core.Tests/MiscTests.cs @@ -1,3 +1,4 @@ +using System.Text; using System; using Consolonia.Core.Infrastructure; using NUnit.Framework; From c45da02b3b40dcff05948ead7c49a4bafcb57336 Mon Sep 17 00:00:00 2001 From: Evgeny Gorbovoy Date: Wed, 25 Dec 2024 19:50:52 +0100 Subject: [PATCH 2/3] now no need in version of inspection --- .github/workflows/editorconfig.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index d7b25ae6..b0a11aae 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -48,7 +48,7 @@ jobs: with: solutionPath: ./src/Consolonia.sln exclude: "**Consolonia.GuiCS/**.*;**Consolonia.Gallery/**.*;**Example/**.*;**Consolonia.Templates/**.*" - version: '2024.2.6' + # version: '2024.2.6' minimumSeverity: 'warning' - name: Commit files From 7b22ec71ede31d209188fa1b01190f66700d90db Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 18:55:41 +0000 Subject: [PATCH 3/3] Automated JetBrains cleanup Co-authored-by: <+@users.noreply.github.com> --- src/Tests/Consolonia.Core.Tests/MiscTests.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Tests/Consolonia.Core.Tests/MiscTests.cs b/src/Tests/Consolonia.Core.Tests/MiscTests.cs index 8252dcf7..d502cd80 100644 --- a/src/Tests/Consolonia.Core.Tests/MiscTests.cs +++ b/src/Tests/Consolonia.Core.Tests/MiscTests.cs @@ -1,4 +1,3 @@ -using System.Text; using System; using Consolonia.Core.Infrastructure; using NUnit.Framework;