Skip to content

CodeQL

CodeQL #40

Workflow file for this run

name: CodeQL
on:
push:
branches: main
pull_request:
branches: main
schedule:
- cron: 23 2 * * 0
concurrency:
group: codeql-${{ github.ref_name }}
cancel-in-progress: true
jobs:
analyze:
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: oracle
java-version: 21
check-latest: true
- uses: gradle/gradle-build-action@v2
- uses: github/codeql-action/init@v2
with:
languages: java-kotlin
- run: ./gradlew build -x check
- uses: github/codeql-action/analyze@v2
with:
category: /language:java-kotlin