Skip to content

Choose a tag to compare

@abashev abashev released this 03 Jul 09:30
· 4 commits to main since this release
48b4909

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)