Skip to content

Commit

Permalink
Add java format checker
Browse files Browse the repository at this point in the history
Signed-off-by: Taras Drozdovskyi <[email protected]>
  • Loading branch information
tdrozdovsky committed Oct 25, 2023
1 parent 36b0eae commit d8869a4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/java-format-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Check Java Format

on: [ push, pull_request ]

jobs:

formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # v2 minimum required
- uses: axel-op/googlejavaformat-action@v3
with:
args: "--aosp --skip-javadoc-formatting --skip-reflowing-long-strings --skip-sorting-imports --replace"

0 comments on commit d8869a4

Please sign in to comment.