Pierre Tellier 0fc4be2008
Some checks failed
Format / formatting (push) Failing after 44s
CI / build (push) Successful in 14s
test: changed the verification
2025-02-11 19:18:08 +01:00

20 lines
513 B
YAML

name: Format
on: [ push, pull_request ]
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # v2 minimum required
- uses: actions/setup-java@v4
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- uses: axel-op/googlejavaformat-action@v3
with:
args: "--replace"
skip-commit: true
- name: Print diffs
run: git --no-pager diff --exit-code