Skip to content

Commit

Permalink
Update google java format.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devyubin authored Aug 16, 2023
1 parent 3b792b3 commit aedbe10
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/google java format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ jobs:
formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: axel-op/googlejavaformat-action@v3
- uses: actions/checkout@v3
- name: Check formatting
id: format-check
uses: axel-op/googlejavaformat-action@v3
with:
args: "--fix-imports-only"
commit-message: "format: Google Java Format"
github-token: ${{ secrets.GH_TOKEN }}
args: "--set-exit-if-changed --fix-imports-only"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Print diffs
run: git --no-pager diff --exit-code

0 comments on commit aedbe10

Please sign in to comment.