Skip to content

Commit

Permalink
Try codeql on the normal build to see how much longer it is.
Browse files Browse the repository at this point in the history
  • Loading branch information
justinabrahms committed Oct 3, 2022
1 parent b095946 commit 38ff5aa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@ jobs:
steps:
- name: Check out the code
uses: actions/checkout@v3

- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: java

- name: Cache local Maven repository
uses: actions/cache@v3
with:
Expand All @@ -43,3 +49,6 @@ jobs:
name: coverage # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
8 changes: 4 additions & 4 deletions .github/workflows/static-code-scanning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: "Code Scanning - Action"
# Docs for this at https://github.com/github/codeql-action#usage

on:
push:
branches: [main]
pull_request:
branches: [main]
# push:
# branches: [main]
# pull_request:
# branches: [main]
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
Expand Down

0 comments on commit 38ff5aa

Please sign in to comment.