Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- language: python
build-mode: none
- language: go
build-mode: none
build-mode: manual
- language: actions
build-mode: none

Expand All @@ -59,6 +59,12 @@ jobs:
kotlin-version: ${{ needs.get-configs.outputs.kotlin-version }}
ktlint-version: ${{ needs.get-configs.outputs.ktlint-version }}

- name: Setup Go
if: matrix.language == 'go'
uses: actions/setup-go@v6
with:
go-version: ${{ needs.get-configs.outputs.go-version }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
Expand Down Expand Up @@ -90,6 +96,11 @@ jobs:
find "$SRC" -name '*.kt' -type f -print0 \
| xargs -0 kotlinc -classpath "$LIBS/jna.jar:$LIBS/gson.jar" -d "$RUNNER_TEMP/jvm-classes" -nowarn

- name: Compile Go bindings for CodeQL extraction
if: matrix.language == 'go'
working-directory: ${{ needs.get-configs.outputs.working-dir }}/bindings-go/go
run: go build ./...

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
Expand Down
Loading