Skip to content

Commit d61e927

Browse files
committed
ci(github): Disable the build cache for CodeQL analysis
As CodeQL traces `kotlinc` invocations, avoid everything being pulled from the cache which would result in no invocations being made. See [1] for context. [1]: github/codeql#17962 Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent a07baac commit d61e927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-and-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Gradle
4040
uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
4141
- name: Build all classes
42-
run: ./gradlew -Dorg.gradle.jvmargs=-Xmx1g classes
42+
run: ./gradlew -Dorg.gradle.jvmargs=-Xmx1g --no-build-cache classes
4343
- name: Perform CodeQL Analysis
4444
uses: github/codeql-action/analyze@9278e421667d5d90a2839487a482448c4ec7df4d # v3
4545
test:

0 commit comments

Comments
 (0)