Skip to content

Build and test the wasm module in CI, on the Java 21 and Java 25 cases #686

Build and test the wasm module in CI, on the Java 21 and Java 25 cases

Build and test the wasm module in CI, on the Java 21 and Java 25 cases #686

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@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.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}}"