| name: Style check | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: style-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| style: | |
| name: Style | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK 8 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'adopt-hotspot' | |
| java-version: 8 | |
| cache: 'maven' | |
| check-latest: false | |
| - run: | | |
| ./dev/reformat --check |