2022-08-07 19:33:38 +02:00
|
|
|
name: CodeQL
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master, development ]
|
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
|
|
|
branches: [ master, development ]
|
|
|
|
schedule:
|
|
|
|
- cron: 30 18 * * 4
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Analyze:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-10-01 22:15:43 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-08-07 19:33:38 +02:00
|
|
|
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@v2
|
|
|
|
with:
|
|
|
|
languages: java
|
|
|
|
|
|
|
|
- name: Prepare Workspace
|
|
|
|
uses: ./.github/actions/setup_project_workspace
|
|
|
|
|
|
|
|
- name: Build with Maven
|
|
|
|
run: mvn -B -DskipTests clean package
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@v2
|