ci(forgejo-actions): analyze project with sonarqube
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 1m49s
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 1m49s
This commit is contained in:
parent
797c3ed950
commit
25fe14a5a7
2 changed files with 15 additions and 8 deletions
|
@ -8,6 +8,8 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout the code
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: https://github.com/actions/setup-java@v4
|
||||
|
@ -37,6 +39,12 @@ jobs:
|
|||
- name: Build and run tests
|
||||
run: ./mvnw verify
|
||||
|
||||
- name: Analyze with Sonar
|
||||
env:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
||||
run: ./mvnw org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons -Dsonar.projectName='quarkus-commons' -Dsonar.coverage.jacoco.xmlReportPaths=../**/target/jacoco-report/jacoco.xml
|
||||
|
||||
- name: Upload libs to Gitea Maven Registry
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
run: ./mvnw deploy -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
|
15
README.md
15
README.md
|
@ -1,14 +1,13 @@
|
|||
Quarkus Commons
|
||||
===============
|
||||
|
||||
[](https://openjdk.org/projects/jdk/21/)
|
||||
[](https://quarkus.io/guides/)
|
||||
[](https://maven.apache.org/)
|
||||
|
||||
<!-- TOC -->
|
||||
* [Quarkus Commons](#quarkus-commons)
|
||||
* [Introduction](#introduction)
|
||||
<!-- TOC -->
|
||||
[](https://openjdk.org/projects/jdk/21/)
|
||||
[](https://sonarqube.pub.staging.kvant.cloud/dashboard?id=quarkus-commons)
|
||||
[](https://sonarqube.pub.staging.kvant.cloud/dashboard?id=quarkus-commons)
|
||||
[](https://sonarqube.pub.staging.kvant.cloud/dashboard?id=quarkus-commons)
|
||||
[](https://sonarqube.pub.staging.kvant.cloud/dashboard?id=quarkus-commons)
|
||||
[](https://sonarqube.pub.staging.kvant.cloud/dashboard?id=quarkus-commons)
|
||||
[](https://sonarqube.pub.staging.kvant.cloud/dashboard?id=quarkus-commons)
|
||||
|
||||
# Introduction
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue