From 9808efff3836ecd1432198ee61441b0f81d10bcf Mon Sep 17 00:00:00 2001 From: Sydney Renee Date: Mon, 9 Feb 2026 23:34:26 -0800 Subject: [PATCH] codeql: use explicit Gradle build instead of autobuild --- .github/workflows/codeql.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f2a8892..cb23b80 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -44,10 +44,11 @@ jobs: # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). - # For Kotlin/Java projects, autobuild should work - - name: Autobuild - uses: github/codeql-action/autobuild@v3 + # CodeQL's autobuild assumes a Java-style `testClasses` task, but this repo is + # Gradle Kotlin Multiplatform and exposes per-target/per-module *TestClasses tasks. + # Build the JVM targets explicitly so the Java/Kotlin extractor has bytecode. + - name: Build (Gradle) + run: ./gradlew --no-daemon :lib:jvmTestClasses :composeApp:desktopTestClasses - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3