File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL Analysis"
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ # ┌───────────── minute (0 - 59)
7+ # │ ┌───────────── hour (0 - 23)
8+ # │ │ ┌───────────── day of the month (1 - 31)
9+ # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
10+ # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
11+ # │ │ │ │ │
12+ # │ │ │ │ │
13+ # │ │ │ │ │
14+ # * * * * *
15+ - cron : ' 30 1 * * *'
16+ push :
17+ branches : [ main ]
18+ pull_request :
19+
20+ jobs :
21+ CodeQL-Build :
22+ runs-on : ubuntu-latest
23+
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v4
27+
28+ - name : Set up Java 17
29+ uses : actions/setup-java@v3
30+ with :
31+ distribution : temurin
32+ java-version : 17
33+
34+ # Initializes the CodeQL tools for scanning.
35+ - name : Initialize CodeQL
36+ uses : github/codeql-action/init@v2
37+ with :
38+ languages : java
39+ # using "latest" helps to keep up with the latest Kotlin support
40+ # see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433
41+ tools : latest
42+
43+ - uses : gradle/gradle-build-action@v2
44+ with :
45+ # skipping build cache is needed so that all modules will be analyzed
46+ arguments : assemble --no-build-cache
47+
48+ - name : Perform CodeQL Analysis
49+ uses : github/codeql-action/analyze@v2
You can’t perform that action at this time.
0 commit comments