This repository has been archived by the owner on Sep 29, 2024. It is now read-only.
Merge pull request #984 from SE-TINF22B6/dependabot/maven/io.jsonwebt… #2005
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}" |