Skip to content

CDR-1391 Reject invalid fetch/offset with HTTP 422 - Codestyle #204

CDR-1391 Reject invalid fetch/offset with HTTP 422 - Codestyle

CDR-1391 Reject invalid fetch/offset with HTTP 422 - Codestyle #204

Workflow file for this run

name: "Codestyle"
# we have multiple workflows - this helps to distinguish for them
run-name: "${{ github.event.pull_request.title && github.event.pull_request.title || github.ref_name }} - Codestyle"
on:
push:
branches: [ develop, release/* ]
workflow_dispatch:
pull_request:
branches: [ develop ]
#
# Style-check it a dedicated workflow. This allows us to open a PR, run all tests and fix styling issue later ;).
#
jobs:
spotless:
name: Spotless-Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'maven'
- name: Spotless
run: mvn spotless:check