diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8c995d86..4bc2f5e1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -70,3 +70,18 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + + - name: Set up Android SDK + uses: actions/setup-java@v2 + with: + distribution: 'android' + components: 'platform-tools,android-30,extra-google-google_play_services,extra-google-m2repository,extra-android-m2repository' + + - name: Build assemble Gradle + run: ./gradlew assembleDebug + + - name: Run SonarCloud Analysis + uses: sonarsource/sonarcloud-github-action@v1 + with: + organization: 'cko-mobile' + token: ${{ secrets.SONAR_TOKEN }}