Skip to content

Issue/239 port 1.6.0 to 2.0.0 #163

Issue/239 port 1.6.0 to 2.0.0

Issue/239 port 1.6.0 to 2.0.0 #163

Workflow file for this run

name: Java 21 CodeQL
on:
push:
branches: develop_2
pull_request:
branches: develop_2
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java-kotlin', 'javascript-typescript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 21
if: ${{ matrix.language == 'java-kotlin' }}
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 21
cache: 'maven'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: security-extended, security-and-quality
- name: Compile with Maven
if: ${{ matrix.language == 'java-kotlin' }}
run: mvn --batch-mode --fail-at-end --threads 1C -Dmaven.javadoc.skip=true -Dimpsort.skip=true -Dformatter.skip=true -Dgpg.skip -Denforcer.skip -Dmaven.buildNumber.skip=true -Dexec.skip=true -DskipTests clean package
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"