Skip to content

Bump the github-actions group across 1 directory with 6 updates #28

Bump the github-actions group across 1 directory with 6 updates

Bump the github-actions group across 1 directory with 6 updates #28

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
with:
languages: java-kotlin
build-mode: manual
- name: Set up JDK
uses: actions/setup-java@03ad4de0992f5dab5e18fcb136590ce7c4a0ac95 # v5.6.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@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
with:
category: "/language:java-kotlin"