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
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
security-events: write
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
static-analysis:
|
static-analysis:
|
||||||
timeout-minutes: 30
|
timeout-minutes: 120
|
||||||
name: Static Analysis
|
name: Static Analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -109,6 +110,19 @@ jobs:
|
||||||
--no-transfer-progress
|
--no-transfer-progress
|
||||||
--fail-fast
|
--fail-fast
|
||||||
-P contrib-check
|
-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:
|
ubuntu-build-en:
|
||||||
timeout-minutes: 120
|
timeout-minutes: 120
|
||||||
|
|
Loading…
Reference in New Issue