File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ env :
4+ FAKE_LOCAL_PROPERTIES : |
5+ some.key=value
6+
7+ on :
8+ push :
9+ branches : [ "main" ]
10+ pull_request :
11+ branches : [ "main" ]
12+ schedule :
13+ - cron : ' 0 0 * * 0' # every Sunday
14+
15+ jobs :
16+ analyze :
17+ name : Analyze
18+ runs-on : ubuntu-latest
19+ permissions :
20+ actions : read
21+ contents : read
22+ security-events : write
23+
24+ strategy :
25+ fail-fast : false
26+ matrix :
27+ include :
28+ - language : java-kotlin
29+ build-mode : manual
30+
31+ steps :
32+ - name : Checkout repository
33+ uses : actions/checkout@v4
34+
35+ - name : Write local.properties
36+ run : |
37+ echo "$FAKE_LOCAL_PROPERTIES" > local.properties
38+
39+ - name : Setup JDK
40+ uses : actions/setup-java@v4
41+ with :
42+ java-version : ' 17'
43+ distribution : ' temurin'
44+
45+ - name : Make Gradle wrapper executable
46+ run : chmod +x ./gradlew
47+
48+ - name : Initialize CodeQL
49+ uses : github/codeql-action/init@v3
50+ with :
51+ languages : ${{ matrix.language }}
52+ build-mode : ${{ matrix.build-mode }}
53+
54+ - name : Skeleton Build
55+ run : ./gradlew help
56+
57+ - name : Perform CodeQL Analysis
58+ uses : github/codeql-action/analyze@v3
You can’t perform that action at this time.
0 commit comments