CodeQL #141
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: [develop, main] | ||
pull_request: | ||
branches: [develop] | ||
schedule: | ||
- cron: '0 5 * * 0' | ||
jobs: | ||
analyse: | ||
name: Analyse | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Set up Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 21 | ||
distribution: 'zulu' | ||
cache: 'maven' | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v3 | ||
with: | ||
languages: java | ||
config: | | ||
queries: | ||
- uses: security-and-quality | ||
Check failure on line 37 in .github/workflows/codeql-analysis.yml GitHub Actions / CodeQLInvalid workflow file
|
||
paths: | ||
- src | ||
paths-ignore: | ||
- src/test/go | ||
- name: Build | ||
run: ./mvnw -B install -DskipTests | ||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v3 | ||
with: | ||
category: "/language:java" |