From 6fea07f80bdf9912103ec7d13a8aa1f65bc050be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 13:16:59 +0200 Subject: [PATCH] Bump checkstyle from 10.3 to 10.3.1 (#1853) * Bump checkstyle from 10.3 to 10.3.1 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 10.3 to 10.3.1. - [Release notes](https://github.com/checkstyle/checkstyle/releases) - [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.3...checkstyle-10.3.1) --- updated-dependencies: - dependency-name: com.puppycrawl.tools:checkstyle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * fix permission errors for Report JUnit results Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Hilmar Falkenberg --- .github/workflows/maven-build.yml | 17 ++++++++++++++++- pom.xml | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 020ac25c3b..8b729b5124 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -10,6 +10,11 @@ on: - main - release/** +permissions: + statuses: write + checks: write + pull-requests: write + jobs: mvn-verify: name: run mvn verify and do SonarCloud scan @@ -29,7 +34,17 @@ jobs: run: mvn -B sonar:sonar --fail-never env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - - name: Report JUnit results + - name: Report JUnit results at checks + uses: dorny/test-reporter@v1 + if: always() + with: + name: Maven Tests + path: '**/surefire-reports/*.xml' + reporter: java-junit + fail-on-error: true + list-suites: 'failed' + list-tests: 'failed' + - name: Report JUnit results at checks as comment uses: EnricoMi/publish-unit-test-result-action/composite@v1 if: always() with: diff --git a/pom.xml b/pom.xml index c8a8d4eed4..4bdb47d44b 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ 4.13.2 9.0.64 0.2.6 - 10.3 + 10.3.1 3.1.0 4.5.2