ALM used:
Github
CI system used:
Github action
Languages of the repository:
C#, HTML, javascript
URL:
Git repo: https://github.com/tmatt95/new-mvc
Sonar dashboard: https://sonarcloud.io/summary/overall?id=tmatt95_new-mvc
Github action build file: https://github.com/tmatt95/new-mvc/blob/main/.github/workflows/build.yml
Github action logs: git-action-logs.txt (2.3 MB)
Error observed:
Only getting results for the HTML and not the C#.
Steps to reproduce:
- Create a new .net 6 MVC application using the following command:
dotnet new mvc
- Push the changes to Version control.
- Create a new sonar cloud project pointing to the git repo.
- Add github actions file (link above)
- The code will scan the project. I can see the c# warnings in the logs but when I view the sonarcloud dashboard they are not there and the c# code pages looks like they have not been scanned.
Thanks in advance for your help. The Github link contains the result of running the dotnet new mvc command.