Skip to content

Jakarta EE 10 Migration #776

Jakarta EE 10 Migration

Jakarta EE 10 Migration #776

Workflow file for this run

name: build
on:
push:
paths-ignore:
- "docs/**"
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- if: github.event_name != 'pull_request'
uses: actions/checkout@v4
- if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
# Recommended: latest versions of Google Java Format require JDK 11+
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "21"
- uses: axel-op/googlejavaformat-action@v3
with:
args: "--aosp --skip-reflowing-long-strings --skip-sorting-imports --replace"
# version: 1.9
# Recommended if you use MacOS:
# githubToken: ${{ secrets.GITHUB_TOKEN }}
# set dry-run and will not commit by default
# skipCommit: false
build:
runs-on: ubuntu-latest
needs: [ formatting ]
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Build with Maven
run: mvn clean package --file pom.xml