summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: f2fbb3a614444134c0d2ee4c0bc67b050514068f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Build
on: [ push, pull_request ]
jobs:
  build:
    strategy:
      matrix:
        java: [ 17-jdk, 19-jdk ]
    runs-on: ubuntu-22.04
    container:
      image: eclipse-temurin:${{ matrix.java }}
      options: --user root
    steps:
      - uses: actions/checkout@v3
      - run: ./gradlew build --stacktrace --warning-mode fail
      - uses: Juuxel/publish-checkstyle-report@v1
        if: ${{ failure() }}
        with:
          reports: |
            **/build/reports/checkstyle/*.xml