Fix CodeQL workflow (#13215)

This commit is contained in:
Trask Stalnaker 2025-02-04 19:45:48 -08:00 committed by GitHub
parent 2b858be554
commit 62eb7f38bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,10 @@ jobs:
tools: latest tools: latest
- name: Build - name: Build
# skipping build cache is needed so that all modules will be analyzed # --no-build-cache is required for codeql to analyze all modules
run: ./gradlew assemble -x javadoc # --no-daemon is required for codeql to observe the compilation
# (see https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#specifying-build-commands)
run: ./gradlew assemble -x javadoc --no-build-cache --no-daemon
- name: Perform CodeQL analysis - name: Perform CodeQL analysis
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8 uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8