From 8d62c69683fac275084a9c0ca1459e7bb94e1ad9 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Tue, 21 Nov 2023 15:17:04 -0600 Subject: [PATCH] ci: Use EAP8 version of resharper tools Fixes errors due to .NET 8 compatibility. See below issue for details. https://youtrack.jetbrains.com/issue/RSRP-494775 --- .github/workflows/inspect-code.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/inspect-code.yml b/.github/workflows/inspect-code.yml index aeaba435..6f3df884 100644 --- a/.github/workflows/inspect-code.yml +++ b/.github/workflows/inspect-code.yml @@ -17,6 +17,7 @@ env: baseRef: ${{ github.ref == 'refs/heads/master' && github.event.before || (github.event.base_ref || github.event.pull_request.base.ref || 'master') }} dotnetVersion: 8.0.x + resharperVersion: 2023.3.0-eap08 jobs: inspect: @@ -39,6 +40,7 @@ jobs: - name: Inspect Code uses: muno92/resharper_inspectcode@v1 with: + version: ${{ env.resharperVersion }} solutionPath: Recyclarr.sln minimumSeverity: warning include: '**.cs' @@ -58,13 +60,15 @@ jobs: dotnet-version: ${{ env.dotnetVersion }} - name: Install Resharper Tools - run: dotnet tool install -g JetBrains.ReSharper.GlobalTools + run: >- + dotnet tool install -g JetBrains.ReSharper.GlobalTools + --version "${{ env.resharperVersion }}" - name: Build run: dotnet build - name: Run Code Cleanup - run: ../ci/code_cleanup.sh "${{ env.baseRef }}" + run: ci/code_cleanup.sh "${{ env.baseRef }}" - name: Check Diff run: |