Skip to content

Add spotless-maven-plugin #210

Add spotless-maven-plugin

Add spotless-maven-plugin #210

Workflow file for this run

name: 🧪 Java-EA with Maven
on:
push:
branches:
- develop
workflow_dispatch:
env:
MAVEN_ARGS: "-B -ntp"
jobs:
build-and-test-job:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest # Linux x64
java: 25
- os: ubuntu-24.04-arm # Linux arm64
java: 21
- os: windows-11-arm # Windows arm64
java: 21
name: 🧪 Tests with ${{ matrix.java }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: ⚙️ Checkout and Setup Maven
uses: s4u/setup-maven-action@v1.20.0
with:
checkout-submodules: true
checkout-fetch-depth: 0
java-version: ${{ matrix.java }}
- name: ☕ Pre-download dependencies with Maven
run: mvn -U dependency:go-offline
- name: ☕ Build and (headless) test with Maven
run: ${{ runner.os == 'Linux' && 'xvfb-run' || '' }} mvn install