Skip to content

Releases: abashev/palantir-java-format-action

v1

21 Mar 21:40
f33b020

Choose a tag to compare

v1.0.0

GitHub Action for checking Java code formatting with palantir-java-format.

Features

  • Native binary — uses GraalVM native image from Maven Central, no Java/Maven/Gradle required
  • Smart file detection — in mode: changed automatically picks up files from PR or push commits
  • Binary caching — caches the formatter binary via actions/cache to speed up subsequent runs
  • Configurable version — supports any published version of palantir-java-format-native

Inputs

Input Default Description
version 2.89.0 Version of palantir-java-format
mode changed changed — files from PR/push; all — every .java file

Quick start

- uses: actions/checkout@v4

- uses: abashev/palantir-java-format-action@v1
  with:
    version: '2.89.0'

Supported platforms

  • Linux x86_64
  • Linux aarch64
  • macOS aarch64 (Apple Silicon)