diff --git a/.github/workflows/cart-ci.yaml b/.github/workflows/cart-ci.yaml index 64a4ed0dbe..b6ffc288c8 100644 --- a/.github/workflows/cart-ci.yaml +++ b/.github/workflows/cart-ci.yaml @@ -27,9 +27,11 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - uses: ./.github/workflows/actions + - name: Run Maven Build Command + run: mvn clean install -pl cart -am - name: Run Maven Checkstyle if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }} - run: mvn clean install checkstyle:checkstyle -f cart -Dcheckstyle.output.file=cart-checkstyle-result.xml + run: mvn checkstyle:checkstyle -pl cart -am -Dcheckstyle.output.file=cart-checkstyle-result.xml - name: Upload Checkstyle Result if: ${{ env.FROM_ORIGINAL_REPOSITORY == 'true' }} uses: jwgmeligmeyling/checkstyle-github-action@master