Skip to content

CodeQL

CodeQL #3497

name: "CodeQL"
on:
pull_request:
schedule:
- cron: '00 2 * * *'
concurrency:
cancel-in-progress: true
group: cq-${{ github.event.pull_request.number || github.job }}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ !startsWith(github.ref, 'refs/heads/renovate/') }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup java
uses: actions/setup-java@v4
with:
java-version: 22
check-latest: true
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: true
add-job-summary: always
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
tools: linked
languages: 'java'
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3