Skip to content

Bump the github-actions group with 5 updates #24

Bump the github-actions group with 5 updates

Bump the github-actions group with 5 updates #24

Workflow file for this run

# CodeQL static analysis for the Java sources.
# Results appear under the repository's "Security > Code scanning" tab.
name: CodeQL
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
# Weekly run so new CodeQL queries are applied to unchanged code too.
- cron: '27 4 * * 1'
permissions:
contents: read
jobs:
analyze:
name: Analyze (java)
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
with:
languages: java-kotlin
build-mode: manual
- name: Set up JDK
uses: actions/setup-java@0f481fcb613427c0f801b606911222b5b6f3083a # v5.5.0
with:
distribution: temurin
java-version: '17'
cache: maven
# Manual build so CodeQL traces the exact compilation. Skip tests to keep the analysis build fast.
- name: Build
run: mvn -B -DskipTests package --file pom.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
with:
category: "/language:java-kotlin"