add setup java to format task
This commit is contained in:
parent
bb514f8a63
commit
4d73b53bfb
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@ jobs:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: 'gradle'
|
||||||
- uses: axel-op/googlejavaformat-action@v3
|
- uses: axel-op/googlejavaformat-action@v3
|
||||||
with:
|
with:
|
||||||
args: "--replace"
|
args: "--replace"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue