Run IntelliJ-inspections in parallel to static-checks & web-checks in GHA (#14515)

Currently, IntelliJ-inspections are run sequentially w.r.t static-checks, thereby increasing build time. Moving IntelliJ-inspections to a separate job to improve builds time and get a quick insight into such issues early on.
This commit is contained in:
Tejaswini Bandlamudi 2023-07-03 17:10:19 +05:30 committed by GitHub
parent 27a70d569d
commit c04a36d15b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 1 deletions

View File

@ -122,8 +122,25 @@ jobs:
if: ${{ matrix.java == 'jdk8' }}
run: ${MVN} spotbugs:check --fail-at-end -pl '!benchmarks'
intellij-inspections:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: checkout branch
uses: actions/checkout@v3
- name: setup JDK8
run: |
echo "JAVA_HOME=$JAVA_HOME_8_X64" >> $GITHUB_ENV
- name: maven install
run: |
echo 'Running Maven install...' &&
${MVN} clean install -q -ff -pl '!distribution,!:druid-it-image,!:druid-it-cases' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -T1C &&
${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS}
- name: intellij inspections
if: ${{ matrix.java == 'jdk8' }}
run: |
docker run --rm \
-v $(pwd):/project \