Skip to content

Format java

Format java #34

name: CI
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/**'
jobs:
build:
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- nickname: win
os: windows-latest
java: 17
- nickname: macos
os: macos-latest
java: 17
- nickname: linux
os: ubuntu-latest
java: 17
name: CI Build ${{ matrix.nickname }}
steps:
- name: Set git config for long paths
if: runner.os == 'Windows'
run: |
git config --system core.longpaths true
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: liberica
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Verify formatting
run: mvn spring-javaformat:validate
- name: Build
run: ./mvnw -B -Pfunctional-tests clean verify