summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 64108e6c9bd39481176b5004c19db9c7c40fa47b (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-ubuntu, 21-ubuntu ]
    runs-on: ubuntu-22.04
    container:
      image: mcr.microsoft.com/openjdk/jdk:${{ matrix.java }}
      options: --user root
    steps:
      - uses: actions/checkout@v4
      - run: ./gradlew build --stacktrace --warning-mode fail
      - uses: Juuxel/publish-checkstyle-report@v1
        if: ${{ failure() }}
        with:
          reports: |
            **/build/reports/checkstyle/*.xml