Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable SonarCloud #103

Merged
merged 4 commits into from
Aug 11, 2023
Merged

Enable SonarCloud #103

merged 4 commits into from
Aug 11, 2023

Conversation

christianhelle
Copy link
Owner

Add Github Action workflow for SonarCloud analysis and add a quality gate badge to the README

Two lines have been added to the README.md to include a Quality Gate Status badge. This badge provides a visual representation and quick access to the code quality as monitored on SonarCloud. This will help viewers assess the overall quality of the project at a glance.
This commit adds a new GitHub Actions workflow file called `sonar-cloud.yml`. This workflow is designed to perform static code analysis using SonarCloud. The workflow is triggered on push to any branch or when a pull request is opened, synchronized, or reopened. It sets up the environment with JDK, Node and the necessary caching, installs SonarCloud scanner, performs code coverage conversion and finally runs the analysis. This workflow integration will aid in improving the code quality by identifying the code smells, bugs, vulnerabilities, and code duplications in the early stages.
@christianhelle christianhelle added the enhancement New feature, bug fix, or request label Aug 11, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 11, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@christianhelle christianhelle merged commit f1be828 into main Aug 11, 2023
61 checks passed
@christianhelle christianhelle deleted the sonar-cloud branch August 11, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, bug fix, or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant