2022-10-08 11:34:25 +00:00
|
|
|
name: "CodeQL"
|
|
|
|
on:
|
2023-06-06 22:51:56 +00:00
|
|
|
push:
|
|
|
|
branches: [main]
|
2022-10-08 11:34:25 +00:00
|
|
|
pull_request:
|
|
|
|
# The branches below must be a subset of the branches above
|
2023-03-06 12:51:53 +00:00
|
|
|
branches: [main]
|
2022-10-08 11:34:25 +00: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 12:51:53 +00:00
|
|
|
language: ['java']
|
2022-10-08 11:34:25 +00:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
2023-10-01 10:00:08 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-06-04 10:34:03 +00:00
|
|
|
- name: Setup Java
|
2023-12-01 22:48:16 +00:00
|
|
|
uses: actions/setup-java@v4
|
2023-06-04 10:34:03 +00:00
|
|
|
with:
|
|
|
|
distribution: temurin
|
|
|
|
cache: gradle
|
2024-05-19 11:32:18 +00:00
|
|
|
java-version: 21
|
2022-10-08 11:34:25 +00:00
|
|
|
- name: Initialize CodeQL
|
2023-12-16 21:42:42 +00:00
|
|
|
uses: github/codeql-action/init@v3
|
2022-10-08 11:34:25 +00:00
|
|
|
with:
|
|
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
2023-12-16 21:42:42 +00:00
|
|
|
uses: github/codeql-action/autobuild@v3
|
2022-10-08 11:34:25 +00:00
|
|
|
- name: Perform CodeQL Analysis
|
2023-12-16 21:42:42 +00:00
|
|
|
uses: github/codeql-action/analyze@v3
|