File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ name : " CodeQL"
3
+
4
+ on :
5
+ push :
6
+ branches : [develop, main]
7
+ pull_request :
8
+ branches : [develop]
9
+ schedule :
10
+ - cron : ' 0 8 * * 0'
11
+
12
+ jobs :
13
+ analyse :
14
+ name : Analyse
15
+ runs-on : ubuntu-latest
16
+ if : " !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 2
21
+ - uses : actions/setup-java@v1
22
+ with :
23
+ java-version : 11
24
+ - uses : actions/cache@v2
25
+ with :
26
+ path : ~/.m2/repository
27
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-maven-
30
+ - name : Initialize CodeQL
31
+ uses : github/codeql-action/init@v1
32
+ with :
33
+ languages : java
34
+ - name : Build
35
+ run : mvn -B compile
36
+ - name : Perform CodeQL Analysis
37
+ uses : github/codeql-action/analyze@v1
You can’t perform that action at this time.
0 commit comments