Skip to content

build(deps): bump axel-op/googlejavaformat-action in /.github/workflows #1680

build(deps): bump axel-op/googlejavaformat-action in /.github/workflows

build(deps): bump axel-op/googlejavaformat-action in /.github/workflows #1680

name: Check Java Format
on: [ push, pull_request ]
permissions:
contents: read
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: axel-op/googlejavaformat-action@0dc4ef525e7ed73d8dff50b1b062a4d441d014b5 # v3.6
with:
args: "--aosp --skip-javadoc-formatting --skip-reflowing-long-strings --skip-sorting-imports --replace"
skip-commit: true
- name: Print diffs
run: git --no-pager diff --exit-code