Skip to content

WIP Add CodeQL Job

WIP Add CodeQL Job #10

Workflow file for this run

name: Build
on:
push:
branches: [ "*" ]
tags: [ "v*.*.*" ]
pull_request:
branches: [ "main" ]
jobs:
analyze:
permissions:
packages: read
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'maven'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
queries: security-and-quality
- name: Build
run: mvn -B compile
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3