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 3f4d69f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/java-format-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 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: "--replace"
skip-commit: true
- name: Print diffs
run: git --no-pager diff --exit-code

0 comments on commit 3f4d69f

Please sign in to comment.