Test versions setting #33
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CodeQL Kotlin Analysis | |
| on: | |
| push: | |
| branches: | |
| - feature/AND-10698_codeql | |
| jobs: | |
| analyze: | |
| name: CodeQL Analysis (Kotlin/Java) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| token: ${{ secrets.GH_MOBILE_PAT }} | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 17 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v3 | |
| with: | |
| languages: java | |
| - name: Copy google-services.json | |
| run: cp app/src/main/assets/tangem-app-config/android/google-services.json app/ | |
| - name: Build project | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_MOBILE_PAT }} | |
| GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} | |
| run: ./gradlew assembleDebug --build-cache --no-daemon --parallel | |
| - name: Perform CodeQL analysis | |
| uses: github/codeql-action/analyze@v3 |