From 15652aa324b02c294ca5023b18228f5e935c282e Mon Sep 17 00:00:00 2001 From: Ziedelth Date: Mon, 30 Oct 2023 12:09:29 +0100 Subject: [PATCH] Remove sonar --- .github/workflows/push.yml | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 0362fb6..572e2e0 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -40,42 +40,6 @@ jobs: - name: Build run: mvn -B package -DskipTests - sonar: - if: github.ref == 'refs/heads/master' - name: Sonarqube - runs-on: ubuntu-latest - - needs: - - test - - permissions: read-all - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: 17 - distribution: 'adopt' - - name: Cache SonarQube packages - uses: actions/cache@v3 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - name: Cache Maven packages - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - - name: Build and analyze - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=jais-api -Dsonar.projectName='jais-api' - docker: runs-on: ubuntu-latest