Skip to content

Check the cases of Java 17 on every surface through the visitor for JDK 17 #726

Check the cases of Java 17 on every surface through the visitor for JDK 17

Check the cases of Java 17 on every surface through the visitor for JDK 17 #726

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}}"