Skip to content

Bump github/codeql-action from 2.22.8 to 2.22.9 #248

Bump github/codeql-action from 2.22.8 to 2.22.9

Bump github/codeql-action from 2.22.8 to 2.22.9 #248

name: CodeQL Analysis
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '37 10 18 * *'
env:
JAVA_VERSION: 17
jobs:
debug:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJSON(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJSON(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJSON(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJSON(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJSON(matrix) }}
run: echo "$MATRIX_CONTEXT"
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
- uses: actions/setup-java@v4.0.0
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: temurin
cache: 'maven'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2.22.9
with:
languages: java
- name: Autobuild
uses: github/codeql-action/autobuild@v2.22.9
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2.22.9
- name: Make sure build did not change anything
run: git diff --exit-code