Skip to content

CodeQL

CodeQL #3

Workflow file for this run

name: CodeQL
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
schedule:
- cron: '0 23 * * 0'
jobs:
analyze:
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
security-events: write
steps:
# https://github.com/actions/checkout
- name: Checkout repository
uses: actions/[email protected]
# https://github.com/actions/setup-java
- name: Set up JDK 21
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: '21'
java-package: jdk
architecture: x64
cache: gradle
# https://github.com/github/codeql-action
- name: Initialize CodeQL
uses: github/codeql-action/[email protected]
with:
languages: 'java'
- name: Build project for test
run: |
echo "Run, Build Application using script"
./gradlew --no-daemon -S core:testClasses
# https://github.com/github/codeql-action
- name: Perform CodeQL Analysis
uses: github/codeql-action/[email protected]