From 9c736848fb7aa82d295b3aa2946e6cd132ee998f Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Wed, 14 Sep 2022 13:12:55 +0100 Subject: Add checkstyle (#460) --- .github/workflows/build.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93a2e1f..0abdf58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,10 +1,10 @@ name: Build -on: [push, pull_request] +on: [ push, pull_request ] jobs: build: strategy: matrix: - java: [17-jdk] + java: [ 17-jdk ] runs-on: ubuntu-20.04 container: image: openjdk:${{ matrix.java }} @@ -13,3 +13,8 @@ jobs: - uses: actions/checkout@v1 - uses: gradle/wrapper-validation-action@v1 - run: ./gradlew build --stacktrace --warning-mode fail + - uses: Juuxel/publish-checkstyle-report@v1 + if: ${{ failure() }} + with: + reports: | + **/build/reports/checkstyle/*.xml -- cgit v1.2.3