Skip to content

ci: add CodeQL workflow with manual Java build #1

ci: add CodeQL workflow with manual Java build

ci: add CodeQL workflow with manual Java build #1

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
schedule:
- cron: "25 7 * * 3"
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze Java
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java-kotlin
build-mode: manual
- name: Build Java provider
run: mvn -B compile -f openfeature-provider/java/pom.xml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3