Skip to content

Upload the orchestrator's per-test outputs with the emulator report #608

Upload the orchestrator's per-test outputs with the emulator report

Upload the orchestrator's per-test outputs with the emulator report #608

Workflow file for this run

name: CodeQL
# Source-level static analysis for dish-android.
#
# `java-kotlin` covers both the Kotlin app code and the Java/Kotlin
# tooling. `cpp` covers the JNI shim under `app/src/main/cpp`.
#
# Pin map (verify with `gh api repos/<owner>/<repo>/git/ref/tags/<tag>`):
# actions/checkout @ v7.0.1 → 3d3c42e5aac5ba805825da76410c181273ba90b1
# actions/setup-java @ v5.7.0 → b6effb05e454b25005698d916606bdc6ffcbf961
# gradle/actions/setup-gradle @ v6.3.0 → 9c971963bec38e04b3d30dcc455b5382be2fdbfb
# github/codeql-action/* @ v4.37.6 → 5595ccaf912efad79be6eef63a5619ff05969be3
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 6 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-24.04
timeout-minutes: 90
strategy:
fail-fast: false
matrix:
language: [java-kotlin, cpp]
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 17
uses: actions/setup-java@dd06d9cba3e5552c54d9f8ea23572deb30010f7c # v6.0.0
with:
java-version: "17"
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0
- name: Pre-install CMake 3.22.1
run: ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager "cmake;3.22.1"
- name: Initialize CodeQL
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality
- name: Build
run: |
chmod +x gradlew
./gradlew assembleDebug
- name: Perform CodeQL analysis
# SARIF upload requires GitHub Advanced Security on private repos.
# `continue-on-error` keeps the analysis running and surfacing
# findings in the logs while GHAS enablement is still pending.
continue-on-error: true
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
with:
category: "/language:${{ matrix.language }}"
upload: failure-only