From e77b392ffdc93ab3b7f89129e40f7f8a164e852f Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 24 Mar 2025 15:23:47 +0100 Subject: [PATCH] Update workflow to rename job and fix Sonar project key Renamed the `mvn-test` job to `mvn-sonar` for better clarity and alignment with its purpose. Additionally, corrected a typo in the Sonar project key to ensure accurate project identification. --- .github/workflows/build-and-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index bbc699f..7507c21 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -10,7 +10,7 @@ on: jobs: - mvn-test: + mvn-sonar: runs-on: ubuntu-latest steps: - name: Checkout @@ -33,4 +33,4 @@ jobs: API_TOKEN: ${{ secrets.API_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=th-schwarz_CloudflareDNS-jav \ No newline at end of file + run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=th-schwarz_CloudflareDNS-java \ No newline at end of file