Added Sonar JDK to worklow
This commit is contained in:
parent
92ed30a415
commit
9270788386
1 changed files with 14 additions and 9 deletions
7
.github/workflows/bld.yml
vendored
7
.github/workflows/bld.yml
vendored
|
@ -6,9 +6,12 @@ jobs:
|
|||
build-bld-project:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
SONAR_JDK: "17"
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
java-version: [ 17, 19, 20 ]
|
||||
java-version: [ 17, 20 ]
|
||||
|
||||
steps:
|
||||
- name: Checkout source repository
|
||||
|
@ -33,9 +36,11 @@ jobs:
|
|||
|
||||
- name: SonarCloud Scan
|
||||
uses: sonarsource/sonarcloud-github-action@master
|
||||
if: success() && matrix.java-version == env.SONAR_JDK
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
with:
|
||||
args: >
|
||||
-Dsonar.organization=ethauvin-github
|
||||
-Dsonar.projectKey=my-ethauvin_HttpStatus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue