File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,19 @@ jobs:
18
18
steps :
19
19
- name : Check out the code
20
20
uses : actions/checkout@v3
21
+
21
22
- name : Set up JDK 8
22
23
uses : actions/setup-java@v3
23
24
with :
24
25
java-version : ' 8'
25
26
distribution : ' temurin'
26
27
cache : maven
27
28
29
+ - name : Initialize CodeQL
30
+ uses : github/codeql-action/init@v2
31
+ with :
32
+ languages : java
33
+
28
34
- name : Cache local Maven repository
29
35
uses : actions/cache@v3
30
36
with :
43
49
name : coverage # optional
44
50
fail_ci_if_error : true # optional (default = false)
45
51
verbose : true # optional (default = false)
52
+
53
+ - name : Perform CodeQL Analysis
54
+ uses : github/codeql-action/analyze@v2
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name: "Code Scanning - Action"
3
3
# Docs for this at https://github.com/github/codeql-action#usage
4
4
5
5
on :
6
- push :
7
- branches : [main]
8
- pull_request :
9
- branches : [main]
6
+ # push:
7
+ # branches: [main]
8
+ # pull_request:
9
+ # branches: [main]
10
10
schedule :
11
11
# ┌───────────── minute (0 - 59)
12
12
# │ ┌───────────── hour (0 - 23)
You can’t perform that action at this time.
0 commit comments