Skip to content

Improve workflow package #1997

Improve workflow package

Improve workflow package #1997

Workflow file for this run

name: Analyze
on:
push:
branches: [ main ]
pull_request:
types: [ opened, synchronize, reopened ]
branches: [ main ]
jobs:
lint:
name: Spotless linter
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: maven
- name: Run linter
run: ./mvnw spotless:check
javadoc:
name: Build javadoc
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: maven
- name: Build javadoc
run: ./mvnw -B install javadoc:javadoc