Skip to content

Commit 09618f8

Browse files
nicklaslclaude
andcommitted
ci: add CodeQL workflow with manual Java build
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0ca1614 commit 09618f8

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
schedule:
8+
- cron: "25 7 * * 3"
9+
10+
permissions:
11+
contents: read
12+
security-events: write
13+
14+
jobs:
15+
analyze:
16+
name: Analyze Java
17+
runs-on: ubuntu-24.04-arm
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Set up JDK 17
24+
uses: actions/setup-java@v4
25+
with:
26+
distribution: temurin
27+
java-version: 17
28+
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v3
31+
with:
32+
languages: java-kotlin
33+
build-mode: manual
34+
35+
- name: Build Java provider
36+
run: mvn -B compile -f openfeature-provider/java/pom.xml
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)