From c20db3af34cadd9b280a089a62ca05cc3393ec11 Mon Sep 17 00:00:00 2001 From: Sky Ao Date: Thu, 14 Dec 2023 16:37:22 +0000 Subject: [PATCH 1/2] set sourceDirectory of checkstyle plugin to only check the sources directory, not test source and generated source Signed-off-by: Sky Ao --- pom.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pom.xml b/pom.xml index 6e2ebacdf..663bd8168 100644 --- a/pom.xml +++ b/pom.xml @@ -195,6 +195,9 @@ true true false + + ${project.build.sourceDirectory} + From 7f7d7d889320fac2f0caf7d5a4687a0bc464c7f5 Mon Sep 17 00:00:00 2001 From: Sky Ao Date: Tue, 19 Dec 2023 07:30:24 +0000 Subject: [PATCH 2/2] hard code upload-artifact version to 3.0.0 Signed-off-by: Sky Ao --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d97ab54b..a7522c1be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -126,24 +126,24 @@ jobs: id: integration_tests run: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} ./mvnw -B -f sdk-tests/pom.xml verify - name: Upload test report for sdk - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v3.0.0 with: name: report-dapr-java-sdk path: sdk/target/jacoco-report/ - name: Upload test report for sdk-actors - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v3.0.0 with: name: report-dapr-java-sdk-actors path: sdk-actors/target/jacoco-report/ - name: Upload failsafe test report for sdk-tests on failure if: ${{ failure() && steps.integration_tests.conclusion == 'failure' }} - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v3.0.0 with: name: failsafe-report-sdk-tests path: sdk-tests/target/failsafe-reports - name: Upload surefire test report for sdk-tests on failure if: ${{ failure() && steps.integration_tests.conclusion == 'failure' }} - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v3.0.0 with: name: surefire-report-sdk-tests path: sdk-tests/target/surefire-reports