Skip to content

Commit

Permalink
Update doc (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
highbyte authored Nov 13, 2024
1 parent 4a07ed7 commit 21d99e7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
28 changes: 16 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@

SonarScanner for .NET for use in Github Actions, with automatic pull request detection, analysis and decoration.

The current version supports .NET 9
- For .NET 8, use version [2.3.2](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.3.2)
- For .NET 7, use version [2.2.6](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.2.6)
- For .NET 6, use version [2.1.5](https://github.com/marketplace/actions/sonarscan-dotnet?version=v2.1.5)
- For .NET 5, use version [2.0](https://github.com/marketplace/actions/sonarscan-dotnet?version=2.0)
- For .NET Core 3.1, use version [1.0.2](https://github.com/marketplace/actions/sonarscan-dotnet?version=1.0.2)
> [!NOTE]
> This version version supports `.NET 9`.
| 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 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) |
| `.NET Core 3.1` | [`1.0.2`](https://github.com/marketplace/actions/sonarscan-dotnet?version=1.0.2) |

<img align="top" src="images/sonarqube-pullrequest-decoration-fail.png" width="50%" height="50%" title="SonarQube pull request decoration fail"><img align="top" src="images/sonarqube-pullrequest-decoration-pass.png" width="50%" height="50%" title="SonarQube pull request decoration pass">

Expand All @@ -18,7 +22,7 @@ The current version supports .NET 9

``` yaml
- name: SonarScanner for .NET 9 with pull request decoration support
uses: highbyte/[email protected].0
uses: highbyte/[email protected].1
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -37,7 +41,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 9 with pull request decoration support
uses: highbyte/[email protected].0
uses: highbyte/[email protected].1
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -60,7 +64,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 9 with pull request decoration support
uses: highbyte/[email protected].0
uses: highbyte/[email protected].1
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -84,7 +88,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 9 with pull request decoration support
uses: highbyte/[email protected].0
uses: highbyte/[email protected].1
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -104,7 +108,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 9 with pull request decoration support
uses: highbyte/[email protected].0
uses: highbyte/[email protected].1
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand All @@ -126,7 +130,7 @@ Also includes test results.
``` yaml
- name: SonarScanner for .NET 9 with pull request decoration support
uses: highbyte/[email protected].0
uses: highbyte/[email protected].1
with:
# The key of the SonarQube project
sonarProjectKey: your_projectkey
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inputs:

runs:
using: "docker"
image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.0"
image: "docker://ghcr.io/highbyte/sonarscan-dotnet:v2.4.1"

branding:
icon: 'check-square'
Expand Down

0 comments on commit 21d99e7

Please sign in to comment.