Skip to content

feat(setup): replace onboarding with the guided Dish Setup flow #323

feat(setup): replace onboarding with the guided Dish Setup flow

feat(setup): replace onboarding with the guided Dish Setup flow #323

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 @ v4.2.2 → 11bd71901bbe5b1630ceea73d27597364c9af683
# actions/setup-java @ v5.2.0 → be666c2fcd27ec809703dec50e508c2fdc7f6654
# gradle/actions/setup-gradle @ v4.1.0 → d156388eb19639ec20ade50009f3d199ce1e2808
# github/codeql-action/* @ v4.35.2 → 95e58e9a2cdfd71adc6e0353d5c52f41a045d225
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@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up JDK 17
uses: actions/setup-java@ad2b38190b15e4d6bdf0c97fb4fca8412226d287 # v5.3.0
with:
java-version: "17"
distribution: temurin
- name: Setup Gradle
uses: gradle/actions/setup-gradle@3f131e8634966bd73d06cc69884922b02e6faf92 # v6.2.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@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
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@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: "/language:${{ matrix.language }}"
upload: failure-only