Backend Formatting Check on 1002/merge by @ldaugusto #16
Workflow file for this run
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: "Backend Formatting Check" | |
run-name: "Backend Formatting Check on ${{ github.ref_name }} by @${{ github.actor }}" | |
on: | |
pull_request: | |
paths: | |
- "apps/opik-backend/**/*.java" | |
push: | |
branches: | |
- "main" | |
paths: | |
- "apps/opik-backend/**/*.java" | |
workflow_dispatch: | |
jobs: | |
run-backend-formatting-check: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: apps/opik-backend/ | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: "corretto" | |
cache: maven | |
- name: Run Formatting Check for backend | |
run: mvn clean spotless:check |