From c97a2f7e5f401a116426efb6c361bf7ef6d0e2d5 Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Fri, 5 Sep 2025 10:41:03 +0200 Subject: [PATCH] build: common out SonarCloud since SonarQubeAnalysisConfig.xml is missing --- .github/workflows/post-integration.yml | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml index 3a73d868..e6a0c256 100644 --- a/.github/workflows/post-integration.yml +++ b/.github/workflows/post-integration.yml @@ -35,11 +35,11 @@ jobs: with: dotnet-version: "9.0.x" - - name: ⚙️ Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: "zulu" + # - name: ⚙️ Set up JDK 17 + # uses: actions/setup-java@v3 + # with: + # java-version: 17 + # distribution: "zulu" - name: 🧹 Clean run: dotnet clean -c Release && dotnet nuget locals all --clear @@ -53,18 +53,18 @@ jobs: - name: 🧪 Run unit tests run: dotnet test -c Release --no-build --filter "Category!=Integration" - - name: 🌩️ SonarCloud install scanner - run: dotnet tool install --global dotnet-sonarscanner - - - name: 🌩️ SonarCloud analyze - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - shell: pwsh - run: | - dotnet sonarscanner begin /k:"atc-rest-api-generator" /o:"atc-net" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" - dotnet build -c Release /p:UseSourceLink=true --no-restore - dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" + # - name: 🌩️ SonarCloud install scanner + # run: dotnet tool install --global dotnet-sonarscanner + + # - name: 🌩️ SonarCloud analyze + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # shell: pwsh + # run: | + # dotnet sonarscanner begin /k:"atc-rest-api-generator" /o:"atc-net" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" + # dotnet build -c Release /p:UseSourceLink=true --no-restore + # dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" - name: ⏩ Merge to stable-branch run: |