Skip to content

Commit

Permalink
Move CodeQL into parallel workfow (opensearch-project#1705)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied authored Mar 25, 2022
1 parent 4311828 commit 7787eb4
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ jobs:
- name: Checkout security
uses: actions/checkout@v2

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

- name: Cache Gradle packages
uses: actions/cache@v2
with:
Expand All @@ -50,9 +45,6 @@ jobs:
- name: Package
run: ./gradlew clean build -Dbuild.snapshot=false -x test

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

- name: Test
run: OPENDISTRO_SECURITY_TEST_OPENSSL_OPT=true ./gradlew test -i

Expand All @@ -76,6 +68,19 @@ jobs:
cd bwc-test/
./gradlew bwcTestSuite -Dtests.security.manager=false
code-ql:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: github/codeql-action/init@v1
with:
languages: java
- run: ./gradlew clean build -Dbuild.snapshot=false -x test
- uses: github/codeql-action/analyze@v1

build-artifact-names:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 7787eb4

Please sign in to comment.