Skip to content

build(deps): bump github/codeql-action from 3.29.7 to 3.30.0 in /.github/workflows #2412

build(deps): bump github/codeql-action from 3.29.7 to 3.30.0 in /.github/workflows

build(deps): bump github/codeql-action from 3.29.7 to 3.30.0 in /.github/workflows #2412

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@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up JDK 17
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- uses: axel-op/googlejavaformat-action@c1134ebd196c4cbffb077f9476585b0be8b6afcd # 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