File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3030 path : ~/.m2
3131 key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3232 restore-keys : ${{ runner.os }}-m2
33- - name : Build
34- run : mvn clean install
33+ - name : Build and analyze
34+ env :
35+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
36+ run : mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.organization=fugerit79 -Dsonar.projectKey=fugerit79_bare-minimum-github-repo-java-maven
Original file line number Diff line number Diff line change @@ -14,4 +14,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414* requirements
1515* publish GitHub pages
1616* License
17- * Code of conduct
17+ * Code of conduct
18+ * Continuos integration
19+ * Code review
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ Full guidelines can be found [bare-minimum-github-repo](https://github.com/fuger
99[ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-teal.svg )] ( https://opensource.org/licenses/MIT )
1010[ ![ code of conduct] ( https://img.shields.io/badge/conduct-Contributor%20Covenant-purple.svg )] ( https://github.com/fugerit-org/fj-universe/blob/main/CODE_OF_CONDUCT.md )
1111[ ![ CI workflow] ( https://github.com/fugerit79/bare-minimum-github-repo-java-maven/actions/workflows/ci.yml/badge.svg )] ( https://github.com/fugerit79/bare-minimum-github-repo-java-maven/actions/workflows/ci.yml )
12+ [ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=fugerit79_bare-minimum-github-repo-java-maven&metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=fugerit79_bare-minimum-github-repo-java-maven )
1213
1314## Requirements
1415
You can’t perform that action at this time.
0 commit comments