Skip to content

CI: Re-enable CodeQL with lightweight Fdroid build (JDK17, compile-only) #1

CI: Re-enable CodeQL with lightweight Fdroid build (JDK17, compile-only)

CI: Re-enable CodeQL with lightweight Fdroid build (JDK17, compile-only) #1

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
schedule:
- cron: '0 4 * * 1'
workflow_dispatch:
jobs:
analyze:
name: Analyze (Java/Kotlin)
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java-kotlin
- name: Build with Gradle
run: ./gradlew assembleDebug -x test
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3