Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

CodeQL

CodeQL #2008

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: "17 11 * * 2"
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript', 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
if: ${{ matrix.language != 'java' }}
uses: github/codeql-action/autobuild@v2
- name: Setup JDK
uses: actions/setup-java@v4
if: ${{ matrix.language == 'java' }}
with:
java-version: 17
distribution: temurin
cache: maven
- name: Build Java
if: ${{ matrix.language == 'java' }}
run: ./mvnw -B -DskipTests -Pcompile-jdk17 clean install --file pom.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"