From f174d942865e6b1b6e4e847ecc1af5810058b2cd Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 13 Nov 2024 12:36:37 +0530 Subject: [PATCH 1/5] Remove intellij-inspections check from CI --- .github/workflows/static-checks.yml | 32 ----------------------------- 1 file changed, 32 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 6ece670dae2b..f32b362f84d9 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -113,38 +113,6 @@ jobs: if: ${{ matrix.java == '8' }} 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@v4 - - - uses: actions/setup-java@v4 - with: - distribution: 'zulu' - java-version: '8' - cache: 'maven' - - - name: maven install - run: | - echo 'Running Maven install...' && - ${MVN} clean install -q -ff -pl '!distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} -T1C && - ${MVN} install -q -ff -pl 'distribution' ${MAVEN_SKIP} ${MAVEN_SKIP_TESTS} - - - name: intellij inspections - run: | - docker run --rm \ - -v $(pwd):/project \ - -v ~/.m2:/home/inspect/.m2 \ - -v $(pwd)/.idea/misc-for-inspection.xml:/project/.idea/misc.xml \ - ccaominh/intellij-inspect:1.0.0 \ - /project/pom.xml \ - /project/.idea/inspectionProfiles/Druid.xml \ - --levels ERROR \ - --scope JavaInspectionsScope - openrewrite: runs-on: ubuntu-latest steps: From 81e20c8190f344eb841cd655816ff59dfb71e46c Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 13 Nov 2024 12:58:14 +0530 Subject: [PATCH 2/5] Remove misc-for-inspection.xml --- .idea/misc-for-inspection.xml | 91 ----------------------------------- 1 file changed, 91 deletions(-) delete mode 100644 .idea/misc-for-inspection.xml diff --git a/.idea/misc-for-inspection.xml b/.idea/misc-for-inspection.xml deleted file mode 100644 index f890d06f1fe6..000000000000 --- a/.idea/misc-for-inspection.xml +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From 01d0d304b832626fe515d718d0415c8da89a7d5c Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 13 Nov 2024 13:09:44 +0530 Subject: [PATCH 3/5] Remove JavaInspectionsScope.xml --- .idea/scopes/JavaInspectionsScope.xml | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .idea/scopes/JavaInspectionsScope.xml diff --git a/.idea/scopes/JavaInspectionsScope.xml b/.idea/scopes/JavaInspectionsScope.xml deleted file mode 100644 index b4dff3d5c6f8..000000000000 --- a/.idea/scopes/JavaInspectionsScope.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file From dd128840f552d07243d7bfc9577343485d2b65c1 Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 13 Nov 2024 14:19:22 +0530 Subject: [PATCH 4/5] Revert "Remove JavaInspectionsScope.xml" This reverts commit 01d0d304b832626fe515d718d0415c8da89a7d5c. --- .idea/scopes/JavaInspectionsScope.xml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .idea/scopes/JavaInspectionsScope.xml diff --git a/.idea/scopes/JavaInspectionsScope.xml b/.idea/scopes/JavaInspectionsScope.xml new file mode 100644 index 000000000000..b4dff3d5c6f8 --- /dev/null +++ b/.idea/scopes/JavaInspectionsScope.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file From 814bbedf93f53b128534260b21d82b885f7bd8d8 Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Wed, 13 Nov 2024 14:19:36 +0530 Subject: [PATCH 5/5] Revert "Remove misc-for-inspection.xml" This reverts commit 81e20c8190f344eb841cd655816ff59dfb71e46c. --- .idea/misc-for-inspection.xml | 91 +++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .idea/misc-for-inspection.xml diff --git a/.idea/misc-for-inspection.xml b/.idea/misc-for-inspection.xml new file mode 100644 index 000000000000..f890d06f1fe6 --- /dev/null +++ b/.idea/misc-for-inspection.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +