File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: "Code Scanning"
33on :
44 schedule :
55 - cron : ' 0 0 * * *'
6+ workflow_dispatch :
67
78jobs :
89 CodeQL-Build :
1819 with :
1920 languages : java
2021
21- - name : Autobuild
22- uses : github/codeql-action/autobuild@v1
22+ - name : Set up JDK 8
23+ uses : actions/setup-java@v1
24+ with :
25+ java-version : 8
26+
27+ - name : Checkout
28+ uses : actions/checkout@v2
29+
30+ - name : Grant execute permission for gradlew
31+ run : chmod +x gradlew
32+
33+ - name : Cache Gradle
34+ uses : actions/cache@v2
35+ with :
36+ path : |
37+ ~/.gradle/caches
38+ ~/.gradle/wrapper
39+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
40+ restore-keys : |
41+ ${{ runner.os }}-gradle-
42+
43+ - name : Build and Install packages
44+ run : ./gradlew assemble check
2345
2446 - name : Perform CodeQL Analysis
2547 uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments