From 5e2a99b2a8020203dfc418cb8eeebde3bf77a2ca Mon Sep 17 00:00:00 2001 From: Intelli Date: Fri, 16 Jul 2021 16:38:55 -0600 Subject: [PATCH] Updated workflow & removed SonarCloud --- .github/workflows/build.yml | 13 ++----------- README.md | 1 + 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 830c098..cd20596 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,20 +18,11 @@ jobs: with: java-version: '11' distribution: 'adopt-hotspot' - - name: Cache SonarCloud packages - uses: actions/cache@v1 - with: - path: ~/.sonar/cache - key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - name: Cache Maven packages uses: actions/cache@v1 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - - name: Build and analyze - env: - 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=PlayPro_CoreProtect -Dsonar.organization=playpro -Dsonar.host.url=https://sonarcloud.io + - name: Build + run: mvn -B verify diff --git a/README.md b/README.md index 3143bd8..e5b7169 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Artistic License 2.0](https://img.shields.io/github/license/PlayPro/CoreProtect?&logo=github)](LICENSE) [![Join us on Discord](https://img.shields.io/discord/348680641560313868.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/b4DZ4jy) +[![GitHub Workflows](https://github.com/PlayPro/CoreProtect/actions/workflows/build.yml/badge.svg)](https://github.com/PlayPro/CoreProtect/actions) [![Netlify Status](https://api.netlify.com/api/v1/badges/c1d26a0f-65c5-4e4b-95d7-e08af671ab67/deploy-status)](https://app.netlify.com/sites/coreprotect/deploys) CoreProtect