Skip to content

Commit af6c4ad

Browse files
authored
Update format.yml
1 parent 78d8c8c commit af6c4ad

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/format.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ jobs:
99
formatting:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3 # v2 minimum required
12+
- uses: actions/checkout@v4 # v2 minimum required
1313
- name: Prettier Java Format
14-
uses: tsar-boomba/prettier-java-action@v1.1.0
14+
uses: axel-op/googlejavaformat-action@v3
1515
with:
16-
prettier-args: '--tab-width 2 --write' # See: https://prettier.io/docs/en/options.html
17-
files: '**/*.java'
18-
commit: 'true'
19-
github-username: 'mikebarkmin'
20-
commit-message: 'Format Java Code'
16+
args: "--replace"

0 commit comments

Comments
 (0)