From f269095e9a496df4ecb2b43394e8065f90bffb21 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Thu, 25 Jul 2024 15:12:05 -0500 Subject: [PATCH] chore(deps): Upgrade dotnet-sonarscanner to v7.1 Also remove the java installation step since v7 no longer requires it. --- .config/dotnet-tools.json | 2 +- .github/workflows/sonarcloud.yml | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 4494aea6..ef6ed034 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -9,7 +9,7 @@ ] }, "dotnet-sonarscanner": { - "version": "6.2.0", + "version": "7.1.0", "commands": [ "dotnet-sonarscanner" ] diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 048941f6..c5c81466 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -26,14 +26,6 @@ jobs: with: fetch-depth: 0 # avoid shallow clone for GitVersion and Sonar analysis - # GH Runners come with Java 11, which is deprecated by Sonarcloud - - name: Setup Java - uses: actions/setup-java@v4 - with: - java-version: 20 - java-package: jre - distribution: temurin - - name: Setup dotnet uses: actions/setup-dotnet@v4 with: