From 15b8ba42f9836cdded6feb0426fe4ac64475689c Mon Sep 17 00:00:00 2001 From: Highbyte Date: Mon, 13 Oct 2025 13:55:58 +0200 Subject: [PATCH 1/4] Bump .NET 9 SDK to v9.0.305. Bump MSBuild SonarScan to v10.4.1. --- Dockerfile | 4 ++-- README.md | 12 ++++++------ action.yml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index dc31668..5b945a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0.201 +FROM mcr.microsoft.com/dotnet/sdk:9.0.305 LABEL "com.github.actions.name"="sonarscan-dotnet" LABEL "com.github.actions.description"="SonarScanner for .NET 9 with pull request decoration support." @@ -12,7 +12,7 @@ LABEL "homepage"="https://github.com/highbyte" LABEL "maintainer"="Highbyte" # Version numbers of used software -ENV SONAR_SCANNER_DOTNET_TOOL_VERSION=9.2.1 \ +ENV SONAR_SCANNER_DOTNET_TOOL_VERSION=10.4.1 \ DOTNETCORE_RUNTIME_VERSION=9.0 \ NODE_VERSION=22 \ JRE_VERSION=17 diff --git a/README.md b/README.md index e51cf64..4ada6a6 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ SonarScanner for .NET for use in Github Actions, with automatic pull request det ``` yaml - name: SonarScanner for .NET 9 with pull request decoration support - uses: highbyte/sonarscan-dotnet@v2.4.2 + uses: highbyte/sonarscan-dotnet@v2.4.3 with: # The key of the SonarQube project sonarProjectKey: your_projectkey @@ -41,7 +41,7 @@ Also includes test results. ``` yaml - name: SonarScanner for .NET 9 with pull request decoration support - uses: highbyte/sonarscan-dotnet@v2.4.2 + uses: highbyte/sonarscan-dotnet@v2.4.3 with: # The key of the SonarQube project sonarProjectKey: your_projectkey @@ -64,7 +64,7 @@ Also includes test results. ``` yaml - name: SonarScanner for .NET 9 with pull request decoration support - uses: highbyte/sonarscan-dotnet@v2.4.2 + uses: highbyte/sonarscan-dotnet@v2.4.3 with: # The key of the SonarQube project sonarProjectKey: your_projectkey @@ -88,7 +88,7 @@ Also includes test results. ``` yaml - name: SonarScanner for .NET 9 with pull request decoration support - uses: highbyte/sonarscan-dotnet@v2.4.2 + uses: highbyte/sonarscan-dotnet@v2.4.3 with: # The key of the SonarQube project sonarProjectKey: your_projectkey @@ -108,7 +108,7 @@ Also includes test results. ``` yaml - name: SonarScanner for .NET 9 with pull request decoration support - uses: highbyte/sonarscan-dotnet@v2.4.2 + uses: highbyte/sonarscan-dotnet@v2.4.3 with: # The key of the SonarQube project sonarProjectKey: your_projectkey @@ -130,7 +130,7 @@ Also includes test results. ``` yaml - name: SonarScanner for .NET 9 with pull request decoration support - uses: highbyte/sonarscan-dotnet@v2.4.2 + uses: highbyte/sonarscan-dotnet@v2.4.3 with: # The key of the SonarQube project sonarProjectKey: your_projectkey diff --git a/action.yml b/action.yml index 0b6cfbb..62c61bd 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ inputs: runs: using: "docker" - image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.2" + image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.3" branding: icon: 'check-square' From 6b7d9239ff63f1a49f7fa1682b994d30915d5788 Mon Sep 17 00:00:00 2001 From: Highbyte Date: Mon, 13 Oct 2025 16:16:52 +0200 Subject: [PATCH 2/4] Test beta image --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 62c61bd..28b7e37 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ inputs: runs: using: "docker" - image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.3" + image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.3-beta" branding: icon: 'check-square' From 480f2e08fddcd869a8c5c5e95f5f2a1e84896635 Mon Sep 17 00:00:00 2001 From: Highbyte Date: Tue, 14 Oct 2025 17:05:57 +0200 Subject: [PATCH 3/4] Fix reference latest to .NET 8 version. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ada6a6..49ad40e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ SonarScanner for .NET for use in Github Actions, with automatic pull request det | Other .NET versions | GitHub Action version | |------------------|-------------------------------------------------------------------------------------| -| `.NET 8` | [`2.3.3`](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.3.3) or later `2.3` version | +| `.NET 8` | [`2.3.4`](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.3.4) or later `2.3` version | | `.NET 7` | [`2.2.6`](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.2.6) | | `.NET 6` | [`2.1.5`](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.1.5) | | `.NET 5` | [`2.0`](https://github.com/marketplace/actions/sonarscan-dotnet?version=2.0) | From 44f4fce212110bba205244db6bf7f789dc5f492f Mon Sep 17 00:00:00 2001 From: Highbyte Date: Wed, 15 Oct 2025 18:21:52 +0200 Subject: [PATCH 4/4] Remove -beta label from Docker image --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 28b7e37..62c61bd 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ inputs: runs: using: "docker" - image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.3-beta" + image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.3" branding: icon: 'check-square'