|
|
|
@ -14,8 +14,7 @@ name: "CodeQL"
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
pull_request:
|
|
|
|
|
# The branches below must be a subset of the branches above
|
|
|
|
|
pull_request: # The branches below must be a subset of the branches above
|
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
schedule:
|
|
|
|
|
- cron: '24 17 * * 0'
|
|
|
|
@ -55,10 +54,29 @@ jobs:
|
|
|
|
|
# queries: security-extended,security-and-quality
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
|
|
|
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
|
|
|
- name: Autobuild
|
|
|
|
|
uses: github/codeql-action/autobuild@v2
|
|
|
|
|
- name: Set up Java 19
|
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
|
with:
|
|
|
|
|
java-version: 19
|
|
|
|
|
distribution: 'temurin'
|
|
|
|
|
|
|
|
|
|
- name: Setup Android SDK
|
|
|
|
|
uses: android-actions/setup-android@v2
|
|
|
|
|
|
|
|
|
|
- name: Setup Gradle
|
|
|
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
|
with:
|
|
|
|
|
gradle-home-cache-includes: |
|
|
|
|
|
caches
|
|
|
|
|
notifications
|
|
|
|
|
jdks
|
|
|
|
|
${{ github.workspace }}/.gradle/configuration-cache
|
|
|
|
|
|
|
|
|
|
- name: Change wrapper permissions
|
|
|
|
|
run: chmod +x ./gradlew
|
|
|
|
|
|
|
|
|
|
- name: Build apk debug
|
|
|
|
|
run: ./gradlew app:assembleDefaultDebug
|
|
|
|
|
|
|
|
|
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
|
|
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
|
|
|