Skip to content

Commit 38ff5aa

Browse files
committed
Try codeql on the normal build to see how much longer it is.
1 parent b095946 commit 38ff5aa

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/pullrequest.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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:
@@ -43,3 +49,6 @@ jobs:
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

.github/workflows/static-code-scanning.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: "Code Scanning - Action"
33
# Docs for this at https://github.com/github/codeql-action#usage
44

55
on:
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)

0 commit comments

Comments
 (0)