Skip to content

Test the visitor for JDK 17 on every JDK, and make it the base visitor #721

Test the visitor for JDK 17 on every JDK, and make it the base visitor

Test the visitor for JDK 17 on every JDK, and make it the base visitor #721

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ '*.X.X' ]
pull_request:
branches: [ '*.X.X' ]
schedule:
- cron: '33 9 * * 6'
jobs:
analyze:
if: ${{ github.actor != 'dependabot[bot]' }}
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: java-kotlin
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# No problem matcher: the javac warnings are annotated by CI's `build` job.
- name: Set up JDK 21
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
with:
distribution: temurin
java-version: '21'
problem-matcher: false
- name: Initialize CodeQL
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Build all source sets for CodeQL
# --no-build-cache forces javac to run even if outputs are cached,
# so CodeQL can intercept all compilation calls.
run: ./gradlew --no-build-cache clean compileJava compileTestJava
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
category: "/language:${{matrix.language}}"