From 2190ed7434f21236274abc166da9c2a94899a0ee Mon Sep 17 00:00:00 2001 From: Roy Teeuwen Date: Fri, 2 Aug 2024 21:22:11 +0200 Subject: [PATCH] Automatic analysis is enabled through sonarcloud --- .github/workflows/analyse.yml | 39 ----------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/analyse.yml diff --git a/.github/workflows/analyse.yml b/.github/workflows/analyse.yml deleted file mode 100644 index a208f1a8..00000000 --- a/.github/workflows/analyse.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Analyse - -on: [ push, pull_request ] - -jobs: - sonar: - name: SonarCloud - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Setup Java - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: 17 - - - name: Cache local Maven repository - uses: actions/cache@v3 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- - - - name: Cache SonarCloud packages - uses: actions/cache@v3 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - - - name: Build and analyze - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar