[WOR-1798] Indicate which fields are missing when giving back a 400 o… #6636
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run linter tests | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint-and-static-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current code | |
uses: actions/checkout@v3 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Run linter | |
id: run_linter | |
run: ./gradlew spotlessCheck |