Skip to content

Bump net.revelc.code.formatter:formatter-maven-plugin from 2.20.0 to 2.23.0 #6

Bump net.revelc.code.formatter:formatter-maven-plugin from 2.20.0 to 2.23.0

Bump net.revelc.code.formatter:formatter-maven-plugin from 2.20.0 to 2.23.0 #6

Workflow file for this run

name: Build
on:
push:
branches:
- "main"
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
pull_request:
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
- '*.adoc'
- '*.txt'
- '.all-contributorsrc'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 17
- name: Cache local Maven repository
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Validate formatting
run: mvn -B clean formatter:validate
- name: Build with Maven
run: mvn -B install