Skip to content

Commit fd5d174

Browse files
authored
Update format.yml
1 parent 2e9b7da commit fd5d174

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/format.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3 # v2 minimum required
13-
- uses: ryanbascom/googlejavaformat@v5
13+
- name: Prettier Java Format
14+
uses: tsar-boomba/prettier-java-format-action@main
1415
with:
15-
args: "--replace"
16-
commit-message: "style: apply google format"
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'

0 commit comments

Comments
 (0)