Skip to content

Commit 745f8bd

Browse files
nicklaslclaude
andcommitted
feat(ci): add all supported languages to CodeQL analysis
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8b51c9f commit 745f8bd

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,29 @@ permissions:
1313

1414
jobs:
1515
analyze:
16-
name: Analyze Java
16+
name: Analyze (${{ matrix.language }})
1717
runs-on: ubuntu-24.04
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
include:
22+
- language: java-kotlin
23+
build-mode: manual
24+
- language: go
25+
build-mode: autobuild
26+
- language: javascript-typescript
27+
build-mode: none
28+
- language: python
29+
build-mode: none
30+
- language: ruby
31+
build-mode: none
1832

1933
steps:
2034
- name: Checkout
2135
uses: actions/checkout@v4
2236

2337
- name: Set up JDK 17
38+
if: matrix.language == 'java-kotlin'
2439
uses: actions/setup-java@v4
2540
with:
2641
distribution: temurin
@@ -29,10 +44,11 @@ jobs:
2944
- name: Initialize CodeQL
3045
uses: github/codeql-action/init@v4
3146
with:
32-
languages: java-kotlin
33-
build-mode: manual
47+
languages: ${{ matrix.language }}
48+
build-mode: ${{ matrix.build-mode }}
3449

3550
- name: Build Java provider
51+
if: matrix.language == 'java-kotlin'
3652
run: mvn -B compile -f openfeature-provider/java/pom.xml
3753

3854
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)