Commit 4fd7439
authored
introduce sonarqube (#102)
This pull request introduces SonarQube integration to enhance code
quality analysis and reporting. The changes include adding a SonarQube
job to the CI workflow and configuring the SonarQube project properties
for the repository.
### CI Workflow Enhancements:
*
[`.github/workflows/pull-request-main.yml`](diffhunk://#diff-deba6b8d69fe72e6186b64f7934e93aa1d8213648ef0e99400caa36df42883f0R46-R57):
Added a new `sonarqube` job to perform SonarQube scans during pull
requests. This job runs after the `ci-test`, `ci-lint-misc`, and
`ci-lint` jobs and uses a custom GitHub action for the scan.
### SonarQube Configuration:
*
[`sonar-project.properties`](diffhunk://#diff-43ed9d31bea2a6d518d69836bcd1a8e6bd81bf4df96c4745792c220ca5aa549cR1-R26):
Added a configuration file for SonarQube, specifying project metadata,
source directories, exclusions for static analysis (e.g., `docs/**/*`,
`**/*.json`, `deployments/**/*`), and coverage exclusions (e.g.,
`**/*_test.go`, `**/main.go`).1 parent e1e0286 commit 4fd7439
File tree
2 files changed
+38
-0
lines changed- .github/workflows
2 files changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments