Skip to content

Commit 43f63bb

Browse files
authored
[CI] Update Java code style action (#1006)
1 parent 7462a45 commit 43f63bb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/code_style.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1818

19+
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
20+
with:
21+
distribution: "temurin"
22+
java-version: 21
23+
1924
- name: Fix code java style
20-
uses: axel-op/googlejavaformat-action@dbff853fb823671ec5781365233bf86543b13215 # v3
25+
uses: axel-op/googlejavaformat-action@c1134ebd196c4cbffb077f9476585b0be8b6afcd # v4
2126
with:
2227
args: "--set-exit-if-changed -a -i"
2328
commit-message: "[github actions] Apply google-java-format code style fixes"
29+
files: "modules/java_api/**/*.java"

0 commit comments

Comments
 (0)