Skip to content

CodeQL

CodeQL #50

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@v3
- name: Setup java
uses: actions/setup-java@v3
with:
java-version: 17
check-latest: true
distribution: 'zulu'
- name: Setup gradle cache
uses: gradle/gradle-build-action@v2
with:
cache-read-only: true
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
tools: latest
languages: 'java'
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2