Skip to content

CodeQL

CodeQL #989

name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 7 * * 6'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.1
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
- name: Set up Java
uses: actions/setup-java@v4.4.0
with:
distribution: 'adopt'
java-version: 17
- name: Build with Gradle
run: ./gradlew build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3