Skip to content

Fix: crash on Android 9–11 when expedited sync workers run (#78) (#79) #206

Fix: crash on Android 9–11 when expedited sync workers run (#78) (#79)

Fix: crash on Android 9–11 when expedited sync workers run (#78) (#79) #206

Workflow file for this run

name: codeql
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
# Cancel obsolete runs when a new commit lands on the same ref.
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
analyze:
# CodeQL upload requires Code Scanning enabled, which is free on
# public repos and gated behind GitHub Advanced Security on private
# ones. Skip the whole workflow until the repo is public.
if: github.event.repository.visibility == 'public'
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [java-kotlin, python]
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@7c1e4cf0b20d7c1872b26569c00ba908797a59bf # v4
with:
languages: ${{ matrix.language }}
- if: matrix.language == 'java-kotlin'
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
with:
distribution: temurin
java-version: "21"
- if: matrix.language == 'java-kotlin'
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4
with:
packages: "platform-tools platforms;android-34 build-tools;34.0.0"
- if: matrix.language == 'java-kotlin'
run: ./gradlew assembleDebug -x test --stacktrace
- if: matrix.language == 'python'
uses: github/codeql-action/autobuild@7c1e4cf0b20d7c1872b26569c00ba908797a59bf # v4
- uses: github/codeql-action/analyze@7c1e4cf0b20d7c1872b26569c00ba908797a59bf # v4