Skip to content

Commit 0ef9389

Browse files
committed
pulling information from other workflows to try something
1 parent 14f5aa0 commit 0ef9389

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

.github/workflows/codeql.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
actions: read
1717
contents: read
1818

19+
1920
strategy:
2021
fail-fast: false
2122
matrix:
@@ -29,33 +30,22 @@ jobs:
2930
with:
3031
fetch-depth: '0'
3132

33+
- name: Validate Gradle Wrapper
34+
uses: gradle/wrapper-validation-action@216d1ad2b3710bf005dc39237337b9673fd8fcd5 # v3.3.2
35+
36+
- name: Configure JDK
37+
uses: actions/setup-java@d202f5dbf7256730fb690ec59f6381650114feb2 # v1.4.3
38+
with:
39+
java-version: 17
40+
41+
- run: touch local.properties
42+
3243
- name: Initialize CodeQL
3344
uses: github/codeql-action/init@v4
3445
with:
3546
languages: java
3647
queries: security-extended,security-and-quality
3748

38-
- name: Set up JDK (configured for Gradle)
39-
uses: actions/setup-java@v4
40-
with:
41-
# CHANGE: Update the version from '11' to '17'
42-
java-version: '17'
43-
distribution: 'temurin'
44-
cache: gradle
45-
cache-dependency-path: |
46-
**/build.gradle
47-
**/settings.gradle
48-
**/gradle-wrapper.properties
49-
50-
- name: Set up Android SDK
51-
uses: android-actions/setup-android@v3
52-
53-
- name: Configure Gradle Wrapper Permissions
54-
run: chmod +x gradlew
55-
56-
- name: CodeQL Manual Build with Gradle (Traced)
57-
run: ./gradlew assembleRelease -x test -x lint
58-
5949
- name: Perform CodeQL Analysis
6050
uses: github/codeql-action/analyze@v3
6151
with:

0 commit comments

Comments
 (0)