We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e9b7da commit fd5d174Copy full SHA for fd5d174
.github/workflows/format.yml
@@ -10,7 +10,11 @@ jobs:
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v3 # v2 minimum required
13
- - uses: ryanbascom/googlejavaformat@v5
+ - name: Prettier Java Format
14
+ uses: tsar-boomba/prettier-java-format-action@main
15
with:
- args: "--replace"
16
- commit-message: "style: apply google format"
+ 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