This repository contains a few sample projects that show how to configure source code analysis from GitHub Actions.
Each sample project is analyzed through a pull request. Results are displayed in both SonarCloud and GitHub. A comment and a check are published on the latter.
| Type of project | Use the SonarCloud Action? | Source | GitHub report | SonarCloud report |
|---|---|---|---|---|
| dotnet (Windows) | no | dotnet branch |
GitHub | SonarCloud |
| Gradle | no | gradle branch |
GitHub | SonarCloud |
| Maven | no | maven branch |
GitHub | SonarCloud |
| NPM | no | Use the scanner for NPM. No sample yet. | - | - |
| PHP, Python, COBOL, PL/SQL, ABAP, APEX, Go, Ruby, TSQL | yes | generic branch |
GitHub | SonarCloud |