feat: Switch-layout button remap for PDP wired Switch pads (Standard quirk + Direct button order) #454
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 | |
| # 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.0 → 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 | |
| # actions/setup-java @ v5.5.0 → 0f481fcb613427c0f801b606911222b5b6f3083a | |
| # gradle/actions/setup-gradle @ v6.2.0 → 3f131e8634966bd73d06cc69884922b02e6faf92 | |
| # github/codeql-action/* @ v4.37.0 → 99df26d4f13ea111d4ec1a7dddef6063f76b97e9 | |
| 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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5.5.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@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0 | |
| 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@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0 | |
| with: | |
| category: "/language:${{ matrix.language }}" | |
| upload: failure-only |