2022-10-08 13:34:25 +02:00
|
|
|
name: "CodeQL"
|
|
|
|
on:
|
2023-06-07 00:51:56 +02:00
|
|
|
push:
|
|
|
|
branches: [main]
|
2022-10-08 13:34:25 +02:00
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
2023-03-06 13:51:53 +01:00
|
|
|
branches: [main]
|
2022-10-08 13:34:25 +02:00
|
|
|
jobs:
|
|
|
|
analyze:
|
|
|
|
name: Analyze
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
actions: read
|
|
|
|
contents: read
|
|
|
|
security-events: write
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2023-03-06 13:51:53 +01:00
|
|
|
language: ['java']
|
2022-10-08 13:34:25 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-10-01 12:00:08 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-06-04 12:34:03 +02:00
|
|
|
- name: Setup Java
|
2023-12-01 23:48:16 +01:00
|
|
|
uses: actions/setup-java@v4
|
2023-06-04 12:34:03 +02:00
|
|
|
with:
|
|
|
|
distribution: temurin
|
|
|
|
cache: gradle
|
2024-05-19 13:32:18 +02:00
|
|
|
java-version: 21
|
2022-10-08 13:34:25 +02:00
|
|
|
- name: Initialize CodeQL
|
2023-12-16 22:42:42 +01:00
|
|
|
uses: github/codeql-action/init@v3
|
2022-10-08 13:34:25 +02:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
2023-12-16 22:42:42 +01:00
|
|
|
uses: github/codeql-action/autobuild@v3
|
2022-10-08 13:34:25 +02:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-16 22:42:42 +01:00
|
|
|
uses: github/codeql-action/analyze@v3
|