mirror of https://github.com/apache/nifi.git
NIFI-12278 Added CodeQL to Static Analysis Job
This closes #7934 Signed-off-by: Chris Sampson <chris.sampson82@gmail.com>
This commit is contained in:
parent
2eb5b79353
commit
39898d1ee2
|
@ -79,11 +79,12 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
security-events: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
static-analysis:
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 120
|
||||
name: Static Analysis
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -109,6 +110,19 @@ jobs:
|
|||
--no-transfer-progress
|
||||
--fail-fast
|
||||
-P contrib-check
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: java
|
||||
- name: Maven Compile
|
||||
env:
|
||||
MAVEN_OPTS: >-
|
||||
${{ env.COMPILE_MAVEN_OPTS }}
|
||||
run: >
|
||||
${{ env.MAVEN_COMMAND }}
|
||||
${{ env.MAVEN_COMPILE_COMMAND }}
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
|
||||
ubuntu-build-en:
|
||||
timeout-minutes: 120
|
||||
|
|
Loading…
Reference in New Issue