diff --git a/.github/workflows/sonarqube.yaml b/.github/workflows/sonarqube.yaml new file mode 100644 index 0000000..951e31b --- /dev/null +++ b/.github/workflows/sonarqube.yaml @@ -0,0 +1,20 @@ +name: Run SonarQube with Maven + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Build with Maven cloud + run: mvn -B verify sonar:sonar -Dsonar.projectKey=groupproject_groupproject -Dsonar.organization=groupproject -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/README.md b/README.md index f414351..0f16f58 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +# Test Comments Added +# Branch 3 # InstantAppSample An Android Instant App is a native Android app reachable through a URL with no Google Play Store installation required. A piece of the app containing the selected feature is actually downloaded and installed on the fly.