File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,19 @@ jobs:
1818 steps :
1919 - name : Check out the code
2020 uses : actions/checkout@v3
21+
2122 - name : Set up JDK 8
2223 uses : actions/setup-java@v3
2324 with :
2425 java-version : ' 8'
2526 distribution : ' temurin'
2627 cache : maven
2728
29+ - name : Initialize CodeQL
30+ uses : github/codeql-action/init@v2
31+ with :
32+ languages : java
33+
2834 - name : Cache local Maven repository
2935 uses : actions/cache@v3
3036 with :
4349 name : coverage # optional
4450 fail_ci_if_error : true # optional (default = false)
4551 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"
33# Docs for this at https://github.com/github/codeql-action#usage
44
55on :
6- push :
7- branches : [main]
8- pull_request :
9- branches : [main]
6+ # push:
7+ # branches: [main]
8+ # pull_request:
9+ # branches: [main]
1010 schedule :
1111 # ┌───────────── minute (0 - 59)
1212 # │ ┌───────────── hour (0 - 23)
You can’t perform that action at this time.
0 commit comments